|
Adding/Deleting/Modifying routes
|
08/21/2008 7:59 PM
post12232
|
Adding/Deleting/Modifying routes
Hi,
I am trying to implement a simple API to add, delete and modify routes along with specifying outgoing interfaces (if
possible, for cases where I have more than one interface with the same IP address).
I looked at the route utility and it seems to use raw sockets for programming routing table. Is that the recommended
approach? In linux I think I was using Netlink/Dgram sockets to perform this function. Not sure what works with io-pkt.
Thanks,
Santosh
|
|
|