summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/interface.h
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2005-05-28 09:01:52 +0000
committerreyk <reyk@openbsd.org>2005-05-28 09:01:52 +0000
commitb72abdefae539632aae014b1a9b7d3fe022894a0 (patch)
treebadbb73adbc6af29b751b329b32f1202eb6d7352 /usr.sbin/tcpdump/interface.h
parentwhoops. the import killed the $Id$ tags; rectify. (diff)
downloadwireguard-openbsd-b72abdefae539632aae014b1a9b7d3fe022894a0.tar.xz
wireguard-openbsd-b72abdefae539632aae014b1a9b7d3fe022894a0.zip
support decapsulation of 802.11 data frames
ok canacar@
Diffstat (limited to 'usr.sbin/tcpdump/interface.h')
-rw-r--r--usr.sbin/tcpdump/interface.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/interface.h b/usr.sbin/tcpdump/interface.h
index d26878f85d5..491ba064245 100644
--- a/usr.sbin/tcpdump/interface.h
+++ b/usr.sbin/tcpdump/interface.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.h,v 1.48 2005/03/07 16:13:38 reyk Exp $ */
+/* $OpenBSD: interface.h,v 1.49 2005/05/28 09:01:52 reyk Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -20,7 +20,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/interface.h,v 1.48 2005/03/07 16:13:38 reyk Exp $ (LBL)
+ * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/interface.h,v 1.49 2005/05/28 09:01:52 reyk Exp $ (LBL)
*/
#ifndef tcpdump_interface_h
@@ -79,7 +79,8 @@ extern int packettype; /* as specified by -T */
#define DEFAULT_SNAPLEN 96
#endif /* INET6 */
#define SACK_SNAPLEN 94
-#define RADIOTAP_SNAPLEN (DEFAULT_SNAPLEN + 64)
+#define IEEE802_11_SNAPLEN (DEFAULT_SNAPLEN + 30)
+#define IEEE802_11_RADIO_SNAPLEN (IEEE802_11_SNAPLEN + 64)
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321