Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 1999 23:47:04 -0600 (MDT)
From:      Jonathon Doran <doranj@Colorado.EDU>
To:        freebsd-questions@freebsd.org
Subject:   Re: API for routing table access
Message-ID:  <199906210547.XAA04444@ucsu.Colorado.EDU>
In-Reply-To: <1EF0BD7C3645D1118B7D08002BBC039F3F7615@shlexc1.snl.dec.com> from "Vishwanathan, Anand" at Jun 21, 99 12:01:22 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>     Is there any programmable interface (any kernel level call) to
>     IP routing table in FreeBSD (List routes in sequence etc) ? 

If you're in a hurry, take a look at the source for netstat, in
/usr/src/usr.bin/netstat.

I could have swore I used to use an ioctl to get this info...  but now
people are pulling it out of kernel tables using kvm.

Jon Doran


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906210547.XAA04444>