aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wifi-p2p.h
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-10-25 16:40:45 +0000
committerBill Meier <wmeier@newsguy.com>2010-10-25 16:40:45 +0000
commita8de0b1f7622bb14f85a8f76cef1fa2dc23518de (patch)
tree19d71417f2604e0cfe949e31351e3fca1b0bc288 /epan/dissectors/packet-wifi-p2p.h
parent36390c306f63ab9300fd41ecbc235b26d45e0e15 (diff)
From Jouni Malinen: preliminary version of Wi-Fi P2P (Wi-Fi Direct) dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5196 From me: Add packet-wifi-p2p.h to Makefile.common DISSECTOR_INCLUDES Add dissectors/packet-wifi-p2p.c to epan/CMakelists.txt svn path=/trunk/; revision=34642
Diffstat (limited to 'epan/dissectors/packet-wifi-p2p.h')
-rw-r--r--epan/dissectors/packet-wifi-p2p.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/epan/dissectors/packet-wifi-p2p.h b/epan/dissectors/packet-wifi-p2p.h
new file mode 100644
index 0000000000..2fca56e763
--- /dev/null
+++ b/epan/dissectors/packet-wifi-p2p.h
@@ -0,0 +1,36 @@
+/* packet-wifi-p2p.h
+ *
+ * Wi-Fi P2P
+ *
+ * Copyright 2009-2010 Atheros Communications
+ *
+ * $Id$
+ *
+ * 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.
+ *
+ */
+
+#ifndef _packet_wifi_p2p_h_
+#define _packet_wifi_p2p_h_
+
+void dissect_wifi_p2p_ie(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb,
+ int offset, gint size);
+int dissect_wifi_p2p_public_action(proto_tree *tree, tvbuff_t *tvb,
+ int offset);
+int dissect_wifi_p2p_action(proto_tree *tree, tvbuff_t *tvb, int offset);
+void dissect_wifi_p2p_anqp(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb,
+ int offset, gboolean request);
+
+#endif