reading routing table

Debarshi Ray debarshi.ray at gmail.com
Thu Sep 18 08:01:47 UTC 2008


So I got something working for FreeBSD now:
http://rishi.fedorapeople.org/gnu/inetutils-1.5.tar.gz

I have been using a combination of sysctl and PF_ROUTE to retrieve the
routing table, much like the approach taken by the NetBSD
implementation. Support for modifying the routing table is yet to be
implemented.

Thanks for all your comments.

By the way, would you want someone to implement 'show' support for
FreeBSD's route implementation? I can give it a go now. :-)

Happy hacking,
Debarshi


More information about the freebsd-net mailing list