Author: ae
Date: Tue Mar  6 12:01:31 2018
New Revision: 330536
URL: https://svnweb.freebsd.org/changeset/base/330536

Log:
  Define ethernet type 0x88A8 as ETHERTYPE_QINQ.
  
  Reviewed by:  kp
  Obtained from:        OpenBSD
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D14593

Modified:
  head/sys/net/ethernet.h

Modified: head/sys/net/ethernet.h
==============================================================================
--- head/sys/net/ethernet.h     Tue Mar  6 07:38:32 2018        (r330535)
+++ head/sys/net/ethernet.h     Tue Mar  6 12:01:31 2018        (r330536)
@@ -344,6 +344,7 @@ struct ether_vlan_header {
 #define        ETHERTYPE_PPPOE         0x8864  /* PPP Over Ethernet Session 
Stage */
 #define        ETHERTYPE_LANPROBE      0x8888  /* HP LanProbe test? */
 #define        ETHERTYPE_PAE           0x888e  /* EAPOL PAE/802.1x */
+#define        ETHERTYPE_QINQ          0x88A8  /* 802.1ad VLAN stacking */
 #define        ETHERTYPE_LOOPBACK      0x9000  /* Loopback: used to test 
interfaces */
 #define        ETHERTYPE_LBACK         ETHERTYPE_LOOPBACK      /* DEC MOP 
loopback */
 #define        ETHERTYPE_XNSSM         0x9001  /* 3Com (Formerly Bridge 
Communications), XNS Systems Management */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to