aboutsummaryrefslogtreecommitdiffstats
path: root/packet-prism.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-28 07:11:11 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-28 07:11:11 +0000
commit56636f157abdc8472bcf43de4837d5af2058de16 (patch)
treebbe4c8fe37fb2677a6f3f3ab3313b96935381174 /packet-prism.h
parentc0b335070c3b8156aed2bf2bf85110ddf9c8275e (diff)
Support for 802.11+Prism II monitor-mode link-layer headers, from
Tim Newsham. Add in missing item for WTAP_ENCAP_CISCO_IOS in the Wiretap encapsulation type table. svn path=/trunk/; revision=4290
Diffstat (limited to 'packet-prism.h')
-rw-r--r--packet-prism.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/packet-prism.h b/packet-prism.h
new file mode 100644
index 0000000000..f17cd190ff
--- /dev/null
+++ b/packet-prism.h
@@ -0,0 +1,37 @@
+/*
+ * packet-prism.h
+ * Declarations for packet-prism.c
+ *
+ * prism wlan devices have a monitoring mode that sticks
+ * a proprietary header on each packet with lots of good
+ * information. This file is responsible for decoding that
+ * data.
+ *
+ * By Tim Newsham
+ *
+ * $Id: packet-prism.h,v 1.1 2001/11/28 07:11:07 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@ethereal.com>
+ * 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_prism(const u_char *pd, int offset, int len, packet_counts *ld);
+void proto_register_prism(void);
+void proto_reg_handoff_prism(void);