Click extension for VLAN support

Eddie Kohler kohler at icir.org
Tue Mar 25 19:58:03 EST 2003


Hi Brecht!

> Any comments/suggestions are welcome. (an existing implementation is
> even better :-) )

I think your vlan-extended Ethernet structure looks mostly fine, except:

- keep all prefixes the same (ether_vlan_proto or ether_v_proto, not
  vlan_proto)
- all lower case (ether_vlan_tci, not ..._vlan_TCI)
- prefer 'ether_vlan_encap_proto' to '..._encapsulated_proto'

Eddie




More information about the click mailing list