summaryrefslogtreecommitdiff
path: root/lib/libpcap/ethertype.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpcap/ethertype.h')
-rw-r--r--lib/libpcap/ethertype.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libpcap/ethertype.h b/lib/libpcap/ethertype.h
index 898543d4519..ecd18b5a50f 100644
--- a/lib/libpcap/ethertype.h
+++ b/lib/libpcap/ethertype.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ethertype.h,v 1.6 2000/04/26 21:25:52 jakob Exp $ */
+/* $OpenBSD: ethertype.h,v 1.7 2008/06/11 15:02:21 dtucker Exp $ */
/* $NetBSD: ethertype.h,v 1.2 1995/03/06 11:38:17 mycroft Exp $ */
/*
@@ -21,7 +21,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /cvs/OpenBSD/src/lib/libpcap/ethertype.h,v 1.6 2000/04/26 21:25:52 jakob Exp $ (LBL)
+ * @(#) $Header: /cvs/OpenBSD/src/lib/libpcap/ethertype.h,v 1.7 2008/06/11 15:02:21 dtucker Exp $ (LBL)
*/
/* Types missing from some systems */
@@ -74,6 +74,9 @@
#ifndef ETHERTYPE_AARP
#define ETHERTYPE_AARP 0x80f3
#endif
+#ifndef ETHERTYPE_8021Q
+#define ETHERTYPE_8021Q 0x8100
+#endif
#ifndef ETHERTYPE_IPV6
#define ETHERTYPE_IPV6 0x80f3
#endif