From owner-freebsd-net Wed Mar 22 11:14:58 2000 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 85F1F37BF54 for ; Wed, 22 Mar 2000 11:14:34 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id OAA27909; Wed, 22 Mar 2000 14:14:24 -0500 (EST) (envelope-from wollman) Date: Wed, 22 Mar 2000 14:14:24 -0500 (EST) From: Garrett Wollman Message-Id: <200003221914.OAA27909@khavrinen.lcs.mit.edu> To: "Sam Leffler" Cc: "C. Stephen Gunn" , Subject: Re: Trimming ether_header before ether_input() In-Reply-To: <010101bf9430$c8e364f0$0132a8c0@MELANGE> References: <200003220239.VAA01543@dustdevil.waterspout.com> <005301bf9420$a53ebdc0$0132a8c0@MELANGE> <20000322135759.A5013@waterspout.com> <010101bf9430$c8e364f0$0132a8c0@MELANGE> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > If you're asking, can this still happen; then the answer is it's very > unlikely and it's probably safe to assume the link layer header is > contiguous with the payload. But I haven't touched a BSD network driver in > years so I defer to others. The support for the trailer encapsulation was ripped out, IIRC, between Net-2 and 4.4-Lite. We don't even have an IFF_TRAILERS flag any more. There are some network interfaces which can return the header separately, but I don't see any particularly good reason to cater to them. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message