Re: 802.3

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
On Monday 12 May 2003 14:11, Chris Vitale wrote:
> Wrote an extension I'd like to share.  Basically I just ripped off the ARP
> kernel/userspace stuff.

Thanks, I've put it in the CVS.

> Adds:
>
> --802.3-sap
> --802.3-type

I've changed this into 802_3-{sap,type}.

> sap's argument is a one byte hex value.  type takes a two byte hex value. 
> -p must be LENGTH.  The file _ebt_802.c is the userspace file.
>
> --802.3-type will only check 802.3 packets with sap value 0xaa (which is
> the correct behavior).

Please add a comment in the code about the used magic numbers. A man page 
entry would be appreciated too.

> Comments are welcome.  If you guys think it looks alright I'll add 802.3
> control matching later this week.

You can start from the kernel and userspace files in the CVS and send new code 
in patch-form.

cheers,
Bart



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.