cvs commit: src/sys/net if_vlan_var.h

Bruce M Simpson bms at FreeBSD.org
Wed Feb 28 22:05:31 UTC 2007


bms         2007-02-28 22:05:30 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_vlan_var.h 
  Log:
  Prepare for 802.1p:
   Add macro EVL_APPLY_VLID() which may be used to apply an 802.1q VLAN ID
   to the M_VLANTAG field in an mbuf packet header non-destructively.
   This will be used by net80211 to begin with.
  
   Add macro EVL_APPLY_PRI() which may be used to apply an 802.1p priority
   class to the M_VLANTAG field in an mbuf packet header non-destructively.
  
   Add other macros for manipulating tags and the CFI bit.
  
  Submitted by:   Boris Kovalenko (EVL_CFIOFTAG(), EVL_MAKETAG())
  
  Revision  Changes    Path
  1.26      +34 -3     src/sys/net/if_vlan_var.h


More information about the cvs-src mailing list