how to read gateways ips from routing table in module?

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


Hello,
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
output.
regards,
cranium




__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/