Subject: Re: 802.1Q & ETHER_MAX_LEN
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 10/03/2000 15:57:27
On Wed, Oct 04, 2000 at 06:58:43AM +0900, itojun@iijlab.net wrote:
> I think bpf will choke with non-14byte encapsulation on
> DLT_EN10MB. I think we should inject:
> - 18byte header (as is) on parent interface
> - 14byte header on vlan interface (need to create one)
> into bpf.
This already works okay:
- VLAN decaps before passing to bpf, so you get 14-byte header.
- Phys interface sees dhost,shost,ethertype_vlan, is you get
a 14-byte header.
--
-- Jason R. Thorpe <thorpej@zembu.com>