diff options
author | 2008-12-05 01:25:24 +0000 | |
---|---|---|
committer | 2008-12-05 01:25:24 +0000 | |
commit | 855d0349dd9d40b5255645b89e2b51e4e58b856d (patch) | |
tree | 163a26d7da1bd93c714d010657389dcf367c0cdf /sys/net/ethertypes.h | |
parent | enable 9k frames on the "jumbo" ring (diff) | |
download | wireguard-openbsd-855d0349dd9d40b5255645b89e2b51e4e58b856d.tar.xz wireguard-openbsd-855d0349dd9d40b5255645b89e2b51e4e58b856d.zip |
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/ethertypes.h')
-rw-r--r-- | sys/net/ethertypes.h | 3 |
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 */ |