aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ieee80211.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-15 05:42:35 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-15 05:42:35 +0000
commit7c3fcbac34993a39ed0f3ed753bfd72a5bcf3c5a (patch)
treed236e4d44462d64ef10c1b95c12ca99d8ed68854 /packet-ieee80211.h
parent1247a909605a80b9c92c7f15031f0e022affc76e (diff)
IEEE 802.11 support, from Johan Jorgensen of Axis Communications AB.
Add in stuff for a bunch of libpcap formats either in libpcap 0.5.2 or in the current CVS version; we don't implement all of them in Ethereal/Wiretap (those are "#if 0"ed out), but we do implement the IEEE 802.11 stuff (which isn't yet in libpcap or tcpdump, but the CVS version of libpcap *does* reserve 105 as the encapsulation type number for 802.11). svn path=/trunk/; revision=2646
Diffstat (limited to 'packet-ieee80211.h')
-rw-r--r--packet-ieee80211.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/packet-ieee80211.h b/packet-ieee80211.h
new file mode 100644
index 0000000000..7f50ab0c09
--- /dev/null
+++ b/packet-ieee80211.h
@@ -0,0 +1,31 @@
+/* packet-ieee80211.h
+ * Routines for Wireless LAN (IEEE 802.11) dissection
+ *
+ * Copyright 2000, Axis Communications AB
+ * Inquiries/bugreports should be sent to Johan.Jorgensen@axis.com
+ *
+ * $Id: packet-ieee80211.h,v 1.1 2000/11/15 05:41:42 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@unicom.net>
+ * Copyright 1998 Gerald Combs
+ *
+ * Copied from README.developer
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+void capture_ieee80211 (const u_char *, int, packet_counts *);
+void dissect_ieee80211 (tvbuff_t *, packet_info *, proto_tree *);