summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/ethertype.h
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2000-01-16 12:32:16 +0000
committerjakob <jakob@openbsd.org>2000-01-16 12:32:16 +0000
commit76ebb09c13273568b5742f4cdf33a8bbfd30c45e (patch)
tree3f1814b4101e478c64dfbfaff764c11b8864e967 /usr.sbin/tcpdump/ethertype.h
parentenable INET6 (diff)
downloadwireguard-openbsd-76ebb09c13273568b5742f4cdf33a8bbfd30c45e.tar.xz
wireguard-openbsd-76ebb09c13273568b5742f4cdf33a8bbfd30c45e.zip
VLAN 802.1q support
Diffstat (limited to 'usr.sbin/tcpdump/ethertype.h')
-rw-r--r--usr.sbin/tcpdump/ethertype.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/ethertype.h b/usr.sbin/tcpdump/ethertype.h
index e8da69140be..bc2173c4ffd 100644
--- a/usr.sbin/tcpdump/ethertype.h
+++ b/usr.sbin/tcpdump/ethertype.h
@@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/ethertype.h,v 1.6 1996/12/12 16:22:56 bitblt Exp $ (LBL)
+ * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/ethertype.h,v 1.7 2000/01/16 12:32:16 jakob Exp $ (LBL)
*/
/* Types missing from some systems */
@@ -71,6 +71,9 @@
#ifndef ETHERTYPE_AARP
#define ETHERTYPE_AARP 0x80f3
#endif
+#ifndef ETHERTYPE_VLAN
+#define ETHERTYPE_VLAN 0x8100
+#endif
#ifndef ETHERTYPE_LOOPBACK
#define ETHERTYPE_LOOPBACK 0x9000
#endif