summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2008-12-05 01:25:25 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2008-12-05 01:25:25 +0000
commit76ee1812c6df8e4b060d6d55b9f210969b1a31c8 (patch)
treead3bcd448f1de1f593426482fbf879d2016c3713 /sys/net
parent8b897d5ba894af18dcb4cc11e6304d7d8fb06174 (diff)
add ethertype and tcpdump support for VLAN stacking (QinQ) with
type number 0x88a8 specified by 802.1ad. from reyk on misc@. "ok, go for it" dlg
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/ethertypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/ethertypes.h b/sys/net/ethertypes.h
index d63cc11f3e0..96013ea47e3 100644
--- a/sys/net/ethertypes.h
+++ b/sys/net/ethertypes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ethertypes.h,v 1.9 2008/05/05 13:40:17 dlg Exp $ */
+/* $OpenBSD: ethertypes.h,v 1.10 2008/12/05 01:25:24 sthen Exp $ */
/* $NetBSD: ethertypes.h,v 1.13 2002/02/10 01:28:32 thorpej Exp $ */
/*
@@ -300,6 +300,7 @@
#define ETHERTYPE_LANPROBE 0x8888 /* HP LanProbe test? */
#define ETHERTYPE_PAE 0x888E /* 802.1X Port Access Entity */
#define ETHERTYPE_AOE 0x88A2 /* ATA over Ethernet */
+#define ETHERTYPE_QINQ 0x88A8 /* 802.1ad VLAN stacking */
#define ETHERTYPE_LLDP 0x88CC /* Link Layer Discovery Protocol */
#define ETHERTYPE_LOOPBACK 0x9000 /* Loopback */
#define ETHERTYPE_LBACK ETHERTYPE_LOOPBACK /* DEC MOP loopback */