Ruslan Ermilov writes:
> > I am currently trying to get a route dump in
> > freebsd4.4 using sysctl with NET_RT_DUMP.
> >
> > I am running into problems while parsing the returned
> > rt_msghdr structures.
>
> Look at the route(8) code, you're probably missing the
> necessary alignments (with the ROUNDUP() macro).
Alternately, use the uroute(3) routines in the devel/libpdel port..
http://www.dellroad.org/manpage?page=uroute
-Archie
__________________________________________________________________________
Archie Cobbs * Packet Design * http://www.packetdesign.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message