Help with kernel routing table

2005-09-06 Thread yenganti pradeep
Hi all, I have a sample list of routing table entries. I want one IP to act as gateway for a set of addresses, which in reality is not directly reachable. Route for that IP itself needs to go through another gateway, which is directly reachable. That is, I want the kernel to look up gateway for t

kernel routing table

2005-04-06 Thread cranium2003
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