Re: netlink socket help

Andi Kleen (ak@suse.de)
Wed, 5 Dec 2001 14:43:42 +0100


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/