Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 21:11:43 +0900
From:      Kenjiro Cho <kjc@csl.sony.co.jp>
To:        Andrzej Bialecki <abial@nask.pl>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Retrieving routing table via sysctl 
Message-ID:  <199806301211.VAA03317@hotaka.csl.sony.co.jp>
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

Andrzej said:
>> 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:

sockaddrs come after struct rt_msghdr.  The format is identical to
that of a routing socket.

Richard Stevens describes it in detail
in UNIX Network Programming vol.1 2ed chapter 17.

--Kenjiro

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?199806301211.VAA03317>