Skip to contentSkip to conversation

kernel routing tables

DISCUSSION cranium2003 1 participant 1 message Apr 6, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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