lkml.org 
[lkml]   [2001]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: netlink socket help
On Wed, Dec 05, 2001 at 04:10:58PM +0500, Jyotheeswara Rao Kurma wrote:
>
> > > How to get kernel route table ( not cache ) into user space , using
> > > netlink sockets, i tried with NLM_F_ROOT option. but it is
> > giving the
> > > route cache .
> >
> > Don't set the RTM_F_CLONED flag in the request.
> >
>
> But still getting entries more than what route/netstat command is
> showing. Any thing else ?

route/netsta don't show the whole picture. they are just for compatibility
and just show what can be expressed in the old ioctls. The in kernel
routing table is more rich.


-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.042 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site