Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-igmp.h
1/* packet-igmp.h 2001 Ronnie Sahlberg <See AUTHORS for email>
2 * Declarations of routines for IGMP packet disassembly
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <[email protected]>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11#ifndef __PACKET_IGMP_H__
12#define __PACKET_IGMP_H__
13
14#define IGMP_V0_CREATE_GROUP_REQUEST 0x01
15#define IGMP_V0_CREATE_GROUP_REPLY 0x02
16#define IGMP_V0_JOIN_GROUP_REQUEST 0x03
17#define IGMP_V0_JOIN_GROUP_REPLY 0x04
18#define IGMP_V0_LEAVE_GROUP_REQUEST 0x05
19#define IGMP_V0_LEAVE_GROUP_REPLY 0x06
20#define IGMP_V0_CONFIRM_GROUP_REQUEST 0x07
21#define IGMP_V0_CONFIRM_GROUP_REPLY 0x08
22#define IGMP_V1_HOST_MEMBERSHIP_QUERY 0x11
23#define IGMP_V1_HOST_MEMBERSHIP_REPORT 0x12
24#define IGMP_DVMRP 0x13
25#define IGMP_V1_PIM_ROUTING_MESSAGE 0x14
26#define IGMP_V2_MEMBERSHIP_REPORT 0x16
27#define IGMP_V2_LEAVE_GROUP 0x17
28#define IGMP_TRACEROUTE_RESPONSE 0x1e
29#define IGMP_TRACEROUTE_QUERY_REQ 0x1f
30#define IGMP_V3_MEMBERSHIP_REPORT 0x22
31#define IGMP_TYPE_0x23 0x23
32#define IGMP_TYPE_0x24 0x24
33#define IGMP_TYPE_0x25 0x25
34#define IGMP_TYPE_0x26 0x26
35
36#define IGMP_IGAP_JOIN 0x40
37#define IGMP_IGAP_QUERY 0x41
38#define IGMP_IGAP_LEAVE 0x42
39
40#define IGMP_RGMP_LEAVE 0xFC
41#define IGMP_RGMP_JOIN 0xFD
42#define IGMP_RGMP_BYE 0xFE
43#define IGMP_RGMP_HELLO 0xFF
44
45void igmp_checksum(proto_tree *tree, tvbuff_t *tvb, int hf_index,
46 int hf_index_status, expert_field* ei_checksum, packet_info *pinfo, unsigned len);
47
48#endif
49
Definition packet_info.h:43
Definition proto.h:903
Definition expert.h:39
Definition tvbuff-int.h:35