suricata
decode-igmp.h
Go to the documentation of this file.
1
/* Copyright (C) 2026 Open Information Security Foundation
2
*
3
* You can copy, redistribute or modify this Program under the terms of
4
* the GNU General Public License version 2 as published by the Free
5
* Software Foundation.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* version 2 along with this program; if not, write to the Free Software
14
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15
* 02110-1301, USA.
16
*/
17
18
/**
19
* \file
20
*/
21
22
#ifndef SURICATA_DECODE_IGMP_H
23
#define SURICATA_DECODE_IGMP_H
24
25
typedef
struct
IGMPHdr_
{
26
uint8_t
type
;
27
uint8_t
max_resp_time
;
28
uint16_t
checksum
;
29
uint32_t
group_address
;
30
}
IGMPHdr
;
31
32
typedef
struct
IGMPVars_
{
33
uint16_t
hlen
;
/**< length of the header */
34
uint8_t
version
;
35
bool
rgmp
;
/**< is this really a RFC 3488 RGMP packet */
36
}
IGMPVars
;
37
38
#endif
/* SURICATA_DECODE_IGMP_H */
IGMPVars
struct IGMPVars_ IGMPVars
IGMPHdr_::type
uint8_t type
Definition:
decode-igmp.h:26
IGMPHdr_::checksum
uint16_t checksum
Definition:
decode-igmp.h:28
IGMPHdr_::max_resp_time
uint8_t max_resp_time
Definition:
decode-igmp.h:27
IGMPVars_
Definition:
decode-igmp.h:32
IGMPVars_::rgmp
bool rgmp
Definition:
decode-igmp.h:35
IGMPHdr_
Definition:
decode-igmp.h:25
IGMPHdr
struct IGMPHdr_ IGMPHdr
IGMPVars_::version
uint8_t version
Definition:
decode-igmp.h:34
IGMPVars_::hlen
uint16_t hlen
Definition:
decode-igmp.h:33
IGMPHdr_::group_address
uint32_t group_address
Definition:
decode-igmp.h:29
src
decode-igmp.h
Generated on Tue Mar 3 2026 23:30:23 for suricata by
1.8.18