From owner-freebsd-net Mon Nov 5 13:57: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 7BC3437B416 for ; Mon, 5 Nov 2001 13:57:05 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id fA5Lutl92439; Mon, 5 Nov 2001 16:56:55 -0500 (EST) (envelope-from wollman) Date: Mon, 5 Nov 2001 16:56:55 -0500 (EST) From: Garrett Wollman Message-Id: <200111052156.fA5Lutl92439@khavrinen.lcs.mit.edu> To: Ian West Cc: freebsd-net@FreeBSD.ORG Subject: Results from RTM_GET on route socket ? In-Reply-To: <20011106075451.E34308@rose.niw.com.au> References: <20011106075451.E34308@rose.niw.com.au> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org < 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