Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2018 12:01:32 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330536 - head/sys/net
Message-ID:  <201803061201.w26C1Wja047409@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803061201.w26C1Wja047409>