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