Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 16:56:55 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Ian West <ian@niw.com.au>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Results from RTM_GET on route socket ?
Message-ID:  <200111052156.fA5Lutl92439@khavrinen.lcs.mit.edu>
In-Reply-To: <20011106075451.E34308@rose.niw.com.au>
References:  <20011106075451.E34308@rose.niw.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 6 Nov 2001 07:54:51 +1030, Ian West <ian@niw.com.au> said:

> Starting at the * (Offset 5c, sizeof(struct rt_msghdr) I have 16 bytes
> for RTA_DST, 16 bytes for RTA_GATEWAY, and then 4 null bytes.

The first null byte is the length of the netmask, indicating that you
have a zero-length netmask, and the remaining three nulls are padding.

-GAWollman


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




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