Date: Tue, 30 Jun 1998 10:17:36 -0700 From: Mike Smith <mike@smith.net.au> To: Andrzej Bialecki <abial@nask.pl> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Retrieving routing table via sysctl Message-ID: <199806301717.KAA06654@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 30 Jun 1998 11:12:08 %2B0200." <Pine.NEB.3.95.980630110532.19597A-100000@korin.warman.org.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
>
> I have this question as in Subject. All I know thus far is that there are
> sysctl's which are named appropriately, but what they return is a series
> of struct rt_msghdr, which doesn't contain the struct sockaddr of the
> route itself and of the gateway... (I'm speaking here about:
>
> int mib[]={CTL_NET,PF_ROUTE,0,0,NET_RT_DUMP};
> )
What's missing? You have noticed that you get *more* than just the
rt_msghdr struct back, right?
--
\\ Sometimes you're ahead, \\ Mike Smith
\\ sometimes you're behind. \\ mike@smith.net.au
\\ The race is long, and in the \\ msmith@freebsd.org
\\ end it's only with yourself. \\ msmith@cdrom.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806301717.KAA06654>
