aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rgmp.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2006-10-28 21:52:38 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2006-10-28 21:52:38 +0000
commitd199875c177c6d67d68cdd01d710109c8e555256 (patch)
tree39a3df7c6c8764bfd26d6fd9e594a87d5b309fbf /epan/dissectors/packet-rgmp.h
parent590251d66e9898104b51ea84d88f975e2289bca6 (diff)
Based on RFC3488. This is a setup for RGMP dissection, a simple protocol bolted on IGMP.
svn path=/trunk/; revision=19722
Diffstat (limited to 'epan/dissectors/packet-rgmp.h')
-rw-r--r--epan/dissectors/packet-rgmp.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rgmp.h b/epan/dissectors/packet-rgmp.h
new file mode 100644
index 0000000000..6e6afac650
--- /dev/null
+++ b/epan/dissectors/packet-rgmp.h
@@ -0,0 +1,36 @@
+/* packet-rgmp.h
+ * Declarations of routines for IGMP/RGMP packet disassembly
+ * Copyright 2006 Jaap Keuter
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * 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_RGMP_H__
+#define __PACKET_RGMP_H__
+
+#define IGMP_RGMP_LEAVE 0xFC
+#define IGMP_RGMP_JOIN 0xFD
+#define IGMP_RGMP_BYE 0xFE
+#define IGMP_RGMP_HELLO 0xFF
+
+int dissect_rgmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset);
+
+#endif