aboutsummaryrefslogtreecommitdiffstats
path: root/packet-igmp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-10 19:21:55 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-10 19:21:55 +0000
commita9cd78bf7d771a2da64c7600249b0f9acb0148f4 (patch)
treee6dd3f178fd1dccc4df752520a914621dadb3783 /packet-igmp.c
parentb07545b7e93a625f9b9a952c5d3b05acfdb4d41e (diff)
From Akira Endoh: IGAP support.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9230 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-igmp.c')
-rw-r--r--packet-igmp.c20
1 files changed, 17 insertions, 3 deletions
diff --git a/packet-igmp.c b/packet-igmp.c
index 71347b49e8..d39b556f86 100644
--- a/packet-igmp.c
+++ b/packet-igmp.c
@@ -1,7 +1,7 @@
/* packet-igmp.c 2001 Ronnie Sahlberg <See AUTHORS for email>
* Routines for IGMP packet disassembly
*
- * $Id: packet-igmp.c,v 1.24 2003/07/24 20:46:26 guy Exp $
+ * $Id: packet-igmp.c,v 1.25 2003/12/10 19:21:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -30,7 +30,7 @@
draft-ietf-idmr-igmp-v3-07 Version 3
Size in bytes for each packet
- type RFC988 RFC1054 RFC2236 RFC???? DVMRP MRDISC MSNIP
+ type RFC988 RFC1054 RFC2236 RFC???? DVMRP MRDISC MSNIP IGAP
v0 v1 v2 v3 v1/v3
0x01 20
0x02 20
@@ -50,7 +50,9 @@
0x24 >=8a 8b
0x25 4a >=8b
0x26 4a
-
+ 0x40 ??c
+ 0x41 ??c
+ 0x42 ??c
* Differs in second byte of protocol. Always 0 in V1
@@ -86,6 +88,11 @@
0x23, 0x24 are sent with ip.dst==224.0.0.22
0x25 is sent as unicast.
+ c IGAP Protocol see packet-igap.c
+
+ IGAP : Internet Group membership Authentication Protocol
+ draft-hayashi-igap-03.txt
+
*/
#ifdef HAVE_CONFIG_H
@@ -107,6 +114,7 @@
#include "packet-pim.h"
#include "packet-mrdisc.h"
#include "packet-msnip.h"
+#include "packet-igap.h"
static int proto_igmp = -1;
static int hf_type = -1;
@@ -881,6 +889,12 @@ dissect_igmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
}
break;
+ case IGMP_IGAP_JOIN:
+ case IGMP_IGAP_QUERY:
+ case IGMP_IGAP_LEAVE:
+ offset = dissect_igap(tvb, pinfo, parent_tree, offset);
+ break;
+
default:
offset = dissect_igmp_unknown(tvb, pinfo, tree, type, offset);
break;