netdev
[Top] [All Lists]

kernel routing tables

To: net dev <netdev@xxxxxxxxxxx>
Subject: kernel routing tables
From: cranium2003 <cranium2003@xxxxxxxxx>
Date: Wed, 6 Apr 2005 04:33:40 -0700 (PDT)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=DHthjs8s3MO82lBUkjWNtUVxfeQhFMCknXkMpw2GQQfldICiyGRpzMMhQT06f2+ehsM5gYE4UwrsTjBc9w3UwGgnZOfHFj0vLOLiCtPkUuD/S1m/OSSaptKCR7mauGqtsCY+lL8BY/mNx/01aGMqgLD/XkNvfdlZM0QDKXxiY7o= ;
Sender: netdev-bounce@xxxxxxxxxxx
Hello,

        I want to know the structure where kernel
stores kernel routing table. When i browse code i
found fib_hash.c,fib_sematics.c and fib_frontend.c
which contains functions to display routing table by
/proc/net/route.
       I want to know is that possible for me to write
a kernel module and take the instance of routing table
and display whole routing table in my kernel module
program? How to do that? does i use struct fib_info in
my kernel modules and us it to print its contents as
kernel routing table?
regards,
cranium.



                
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest

<Prev in Thread] Current Thread [Next in Thread>
  • kernel routing tables, cranium2003 <=