Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 14:14:24 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "Sam Leffler" <sam@errno.com>
Cc:        "C. Stephen Gunn" <csg@waterspout.com>, <freebsd-net@FreeBSD.ORG>
Subject:   Re: Trimming ether_header before ether_input()
Message-ID:  <200003221914.OAA27909@khavrinen.lcs.mit.edu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 22 Mar 2000 10:59:43 -0800, "Sam Leffler" <sam@errno.com> 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




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