2002-02-01 11:01:57 +00:00
|
|
|
/* packet-igmp.h 2001 Ronnie Sahlberg <See AUTHORS for email>
|
|
|
|
* Declarations of routines for IGMP packet disassembly
|
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2002-02-01 11:01:57 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2002-02-01 11:01:57 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2002-02-01 11:01:57 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2002-02-01 11:01:57 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2002-02-01 11:01:57 +00:00
|
|
|
*/
|
|
|
|
|
2005-07-30 16:28:00 +00:00
|
|
|
#ifndef __PACKET_IGMP_H__
|
|
|
|
#define __PACKET_IGMP_H__
|
2002-02-01 11:01:57 +00:00
|
|
|
|
2014-11-07 12:47:43 +00:00
|
|
|
#define IGMP_V0_CREATE_GROUP_REQUEST 0x01
|
|
|
|
#define IGMP_V0_CREATE_GROUP_REPLY 0x02
|
|
|
|
#define IGMP_V0_JOIN_GROUP_REQUEST 0x03
|
|
|
|
#define IGMP_V0_JOIN_GROUP_REPLY 0x04
|
|
|
|
#define IGMP_V0_LEAVE_GROUP_REQUEST 0x05
|
|
|
|
#define IGMP_V0_LEAVE_GROUP_REPLY 0x06
|
|
|
|
#define IGMP_V0_CONFIRM_GROUP_REQUEST 0x07
|
|
|
|
#define IGMP_V0_CONFIRM_GROUP_REPLY 0x08
|
|
|
|
#define IGMP_V1_HOST_MEMBERSHIP_QUERY 0x11
|
|
|
|
#define IGMP_V1_HOST_MEMBERSHIP_REPORT 0x12
|
|
|
|
#define IGMP_DVMRP 0x13
|
|
|
|
#define IGMP_V1_PIM_ROUTING_MESSAGE 0x14
|
|
|
|
#define IGMP_V2_MEMBERSHIP_REPORT 0x16
|
|
|
|
#define IGMP_V2_LEAVE_GROUP 0x17
|
|
|
|
#define IGMP_TRACEROUTE_RESPONSE 0x1e
|
|
|
|
#define IGMP_TRACEROUTE_QUERY_REQ 0x1f
|
|
|
|
#define IGMP_V3_MEMBERSHIP_REPORT 0x22
|
|
|
|
#define IGMP_TYPE_0x23 0x23
|
|
|
|
#define IGMP_TYPE_0x24 0x24
|
|
|
|
#define IGMP_TYPE_0x25 0x25
|
|
|
|
#define IGMP_TYPE_0x26 0x26
|
|
|
|
|
|
|
|
#define IGMP_IGAP_JOIN 0x40
|
|
|
|
#define IGMP_IGAP_QUERY 0x41
|
|
|
|
#define IGMP_IGAP_LEAVE 0x42
|
|
|
|
|
|
|
|
#define IGMP_RGMP_LEAVE 0xFC
|
|
|
|
#define IGMP_RGMP_JOIN 0xFD
|
|
|
|
#define IGMP_RGMP_BYE 0xFE
|
|
|
|
#define IGMP_RGMP_HELLO 0xFF
|
|
|
|
|
2002-02-01 11:01:57 +00:00
|
|
|
void igmp_checksum(proto_tree *tree, tvbuff_t *tvb, int hf_index,
|
|
|
|
int hf_index_bad, packet_info *pinfo, guint len);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|