From owner-freebsd-net Wed Mar 22 11: 4:25 2000 Delivered-To: freebsd-net@freebsd.org Received: from gw.errno.com (node-d1d4bd7a.powerinter.net [209.212.189.122]) by hub.freebsd.org (Postfix) with ESMTP id 36A5E37C267 for ; Wed, 22 Mar 2000 11:04:23 -0800 (PST) (envelope-from sam@errno.com) Received: from MELANGE (melange.errno.com [209.212.166.36]) by gw.errno.com (8.9.0/8.9.0) with SMTP id KAA10346; Wed, 22 Mar 2000 10:59:53 -0800 (PST) Message-ID: <010101bf9430$c8e364f0$0132a8c0@MELANGE> From: "Sam Leffler" To: "C. Stephen Gunn" Cc: References: <200003220239.VAA01543@dustdevil.waterspout.com> <005301bf9420$a53ebdc0$0132a8c0@MELANGE> <20000322135759.A5013@waterspout.com> Subject: Re: Trimming ether_header before ether_input() Date: Wed, 22 Mar 2000 10:59:43 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. Sam ----- Original Message ----- From: "C. Stephen Gunn" To: "Sam Leffler" Cc: Sent: Wednesday, March 22, 2000 10:57 AM Subject: Re: Trimming ether_header before ether_input() > On Wed, Mar 22, 2000 at 09:04:07AM -0800, Sam Leffler wrote: > > > When all this code was written there was a link layer encapsulation > > called a trailer protocol that placed the Ethernet header at the > > end of the packet. I think it's described in the "real BSD book" > > (the 4.2 one, not a later one :-)); if not there is an RFC that > > describes it. > > Hmm.. I don't have the 4.2 book around... I'm too young for that. > > Is it fair to say that while the current implementation is historically > rooted, but the historical reasons currently apply? > > I'll try to work up a patch for this... > > - Steve > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message