summaryrefslogtreecommitdiff
path: root/ethertype.h
diff options
context:
space:
mode:
authorguy <guy>2000-10-22 04:15:55 +0000
committerguy <guy>2000-10-22 04:15:55 +0000
commit98a503e84307f830f1d42a33b701869f5e2ce4fb (patch)
tree01516208b7e01f70238514d0f464bfa20d8382a3 /ethertype.h
parent62518217343f5859819e14d6b35041a4b190d301 (diff)
downloadlibpcap-98a503e84307f830f1d42a33b701869f5e2ce4fb.tar.gz
Improved VLAN support, from Peter Jeremy - "vlan" filtering keyword,
letting you filter based on the VLAN to which a packet belongs, and an improvement to the printing of VLAN packets (adding an extra space to separate the VLAN priority and flags from the next stuff printed).
Diffstat (limited to 'ethertype.h')
-rw-r--r--ethertype.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ethertype.h b/ethertype.h
index f5cb767d..3af6f86c 100644
--- a/ethertype.h
+++ b/ethertype.h
@@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/libpcap/ethertype.h,v 1.10 2000-09-23 07:26:27 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/ethertype.h,v 1.11 2000-10-22 04:15:55 guy Exp $ (LBL)
*/
/*
@@ -96,6 +96,9 @@
#ifndef ETHERTYPE_IPV6
#define ETHERTYPE_IPV6 0x86dd
#endif
+#ifndef ETHERTYPE_8021Q
+#define ETHERTYPE_8021Q 0x8100
+#endif
#ifndef ETHERTYPE_LOOPBACK
#define ETHERTYPE_LOOPBACK 0x9000
#endif