From a9cd78bf7d771a2da64c7600249b0f9acb0148f4 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 10 Dec 2003 19:21:55 +0000 Subject: From Akira Endoh: IGAP support. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9230 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-igmp.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'packet-igmp.c') 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 * 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 @@ -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; -- cgit v1.2.3