Subject: Re: revised ethernet/802.xx input header processing.
To: Matt Thomas <matt@3am-software.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 10/30/1999 18:30:00
On Sat, 30 Oct 1999 17:40:00 -0700
Matt Thomas <matt@3am-software.com> wrote:
> At 05:01 PM 10/30/99 , Bill Sommerfeld wrote:
> >2) ethertype_input(ifp, etype, m)
> > contains the big "switch on ethertype" code.
>
> Works for me except that I want an additional argument which is an
> offset from the start of the packet where the payload starts. (e.g.
> the caller does not adjust mbuf).
Yes! Having the caller adjust the mbuf defeats the entire purpose
of the changes I made earlier that cause the hardware drivers to not
adjust the mbuf :-)
-- Jason R. Thorpe <thorpej@nas.nasa.gov>