diff options
author | 2008-12-05 01:25:24 +0000 | |
---|---|---|
committer | 2008-12-05 01:25:24 +0000 | |
commit | 855d0349dd9d40b5255645b89e2b51e4e58b856d (patch) | |
tree | 163a26d7da1bd93c714d010657389dcf367c0cdf /usr.sbin/tcpdump/ethertype.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 'usr.sbin/tcpdump/ethertype.h')
-rw-r--r-- | usr.sbin/tcpdump/ethertype.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/ethertype.h b/usr.sbin/tcpdump/ethertype.h index 3a49392018a..6b9c899d4ce 100644 --- a/usr.sbin/tcpdump/ethertype.h +++ b/usr.sbin/tcpdump/ethertype.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ethertype.h,v 1.13 2007/10/07 16:41:05 deraadt Exp $ */ +/* $OpenBSD: ethertype.h,v 1.14 2008/12/05 01:25:24 sthen Exp $ */ /* * Copyright (c) 1993, 1994, 1996 @@ -20,7 +20,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Id: ethertype.h,v 1.13 2007/10/07 16:41:05 deraadt Exp $ (LBL) + * @(#) $Id: ethertype.h,v 1.14 2008/12/05 01:25:24 sthen Exp $ (LBL) */ /* @@ -102,6 +102,9 @@ #ifndef ETHERTYPE_8021Q #define ETHERTYPE_8021Q 0x8100 #endif +#ifndef ETHERTYPE_QINQ +#define ETHERTYPE_QINQ 0x88a8 +#endif #ifndef ETHERTYPE_IPX #define ETHERTYPE_IPX 0x8137 #endif |