how to read gateways ips from routing table in module?

From: cranium2003
Date: Tue Mar 15 2005 - 08:39:27 EST

I require a kernel module that will print
gateway IP addresses in routing table as well as it
should not print Gateways that appear to be the same
interface ip addresses of that linux machine.
e.g. If my eth1 is 172.16.x.x and if same
appear in routing table for any entry having
172.16.x.x as Gateway then it should not appear in

Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at