reading routing table

Debarshi Ray debarshi.ray at gmail.com
Tue Sep 2 07:17:53 UTC 2008


> unfortunatly netstat -rn uses /dev/kmem

Yes. I also found that FreeBSD's route(8) implementation does not have
an equivalent of 'netstat -r'. NetBSD and GNU/Linux implementations
have such an option. Any reason for this? Is it because you did not
want to muck with /dev/kmem in route(8) and wanted it to work with
PF_ROUTE only? I have not yet gone through NetBSD's route(8) code
though.

Happy hacking,
Debarshi


More information about the freebsd-net mailing list