All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* netlink socket help
@ 2001-12-05  6:04 Jyotheeswara Rao Kurma
  0 siblings, 0 replies; 4+ messages in thread
From: Jyotheeswara Rao Kurma @ 2001-12-05  6:04 UTC (permalink / raw
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

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 . 

Any help ?

Jyotheesh

--------------------------------------------------------------------
Every moment is a golden one for him who has the vision to recognize it 
as such. 
-- Henry Miller 



[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 855 bytes --]

-------------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: netlink socket help
       [not found] <36e2a38f71.38f7136e2a@wipro.com.suse.lists.linux.kernel>
@ 2001-12-05 10:31 ` Andi Kleen
  0 siblings, 0 replies; 4+ messages in thread
From: Andi Kleen @ 2001-12-05 10:31 UTC (permalink / raw
  To: Jyotheeswara Rao Kurma; +Cc: linux-kernel

"Jyotheeswara Rao Kurma" <jyotheeswara.rao@wipro.com> writes:


> 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.

-Andi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: netlink socket help
@ 2001-12-05 11:10 Jyotheeswara Rao Kurma
  2001-12-05 13:43 ` Andi Kleen
  0 siblings, 1 reply; 4+ messages in thread
From: Jyotheeswara Rao Kurma @ 2001-12-05 11:10 UTC (permalink / raw
  To: Andi Kleen; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]


> > 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 ? 

> -Andi
> 


[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 855 bytes --]

-------------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: netlink socket help
  2001-12-05 11:10 Jyotheeswara Rao Kurma
@ 2001-12-05 13:43 ` Andi Kleen
  0 siblings, 0 replies; 4+ messages in thread
From: Andi Kleen @ 2001-12-05 13:43 UTC (permalink / raw
  To: Jyotheeswara Rao Kurma; +Cc: Andi Kleen, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-12-05 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05  6:04 netlink socket help Jyotheeswara Rao Kurma
     [not found] <36e2a38f71.38f7136e2a@wipro.com.suse.lists.linux.kernel>
2001-12-05 10:31 ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2001-12-05 11:10 Jyotheeswara Rao Kurma
2001-12-05 13:43 ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.