in kernel sources there are 2 places where is some routing information.

net/ipv4/route.c
net/ipv4/fib_frontend.c

in route.c one hash rt_hash_table[] and in 
fib_[a-z].[ch] files one can find fib_get_table() etc.

What is the difference between these 2 and why there is 2 of them?

So if I want to get my hands on routing table information inside linux
kernel I probably have to use fib_get_table(RT_TABLE_MAIN); but if anyone
could light the matter a bit I'd be thankful.

-- 
Janne

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to