From 855d0349dd9d40b5255645b89e2b51e4e58b856d Mon Sep 17 00:00:00 2001 From: sthen Date: Fri, 5 Dec 2008 01:25:24 +0000 Subject: 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 --- usr.sbin/tcpdump/ethertype.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr.sbin/tcpdump/ethertype.h') 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 -- cgit v1.2.3-59-g8ed1b