Subject: Re: revised ethernet/802.xx input header processing.
To: Bill Sommerfeld <>
From: Matt Thomas <>
List: tech-net
Date: 10/30/1999 17:40:00
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).

>3) ieee802_input (ifp, m)
>         assumes that the current start of the mbuf now points at the
>         LLC header, and parses that.
>         if it finds a SNAP header which contains an ethertype, it
>                 adjusts the header to point just past the SNAP header, 
>                         and calls ethertype_input(ifp, ether, m .... )
>         for other LSAP types (X.25 and ISO) it does what ether_input
>                 currently does.

I want the same offset option.

Matt Thomas               Internet:
3am Software Foundry      WWW URL:
Cupertino, CA             Disclaimer: I avow all knowledge of this message