cvs commit: src/sys/net if_vlan.c

Garrett Wollman wollman at lcs.mit.edu
Mon Jul 7 11:45:05 PDT 2003


<<On Sat, 5 Jul 2003 20:24:25 -0700 (PDT), Bill Paul <wpaul at FreeBSD.org> said:

>     I'm not quite sure what the right thing is to do here. Neither the
>     vlan(4) nor ifconfig(8) man pages suggest which way to go. For now,
>     I've removed this use of EVL_VLANOFTAG() so that the tag will match
>     correctly in all cases. I will not get upset if somebody makes a
>     compelling argument for using EVL_VLANOFTAG() everywhere instead,
>     as long as the use is consistent.
  
VLAN tags have only 12 bits.  Anything else is part of the 802.1p
encapsulation header (either the priority or the ``this packet was
translated from Token Ring'' bit).

-GAWollman



More information about the cvs-all mailing list