diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2008-12-05 01:25:25 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2008-12-05 01:25:25 +0000 |
commit | 76ee1812c6df8e4b060d6d55b9f210969b1a31c8 (patch) | |
tree | ad3bcd448f1de1f593426482fbf879d2016c3713 /usr.sbin/tcpdump/ethertype.h | |
parent | 8b897d5ba894af18dcb4cc11e6304d7d8fb06174 (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 '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 |