Helper Reference Manual
1.7.1
igmp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2020 Marvell
3
*/
4
10
#ifndef _ODPH_IGMP_H_
11
#define _ODPH_IGMP_H_
12
13
#include <odp_api.h>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
30
typedef
struct
ODP_PACKED
{
31
uint8_t
type
;
32
uint8_t
code
;
33
odp_u16be_t
csum
;
34
odp_u32be_t
group
;
35
}
odph_igmphdr_t
;
36
38
#define ODPH_IGMP_HLEN sizeof(odph_igmphdr_t)
39
44
#ifdef __cplusplus
45
}
46
#endif
47
48
#endif
/* ODP_IGMP_H_ */
odph_igmphdr_t
struct ODP_PACKED odph_igmphdr_t
Simplified IGMP protocol header.
ODP_PACKED
Ethernet MAC address.
Definition:
eth.h:54
ODP_PACKED::csum
odp_u16be_t csum
Checksum.
Definition:
igmp.h:33
ODP_PACKED::type
odp_u16be_t type
EtherType.
Definition:
eth.h:64
ODP_PACKED::group
odp_u32be_t group
Group address.
Definition:
igmp.h:34
ODP_PACKED::code
uint8_t code
type sub-code
Definition:
icmp.h:32
helper
include
odp
helper
igmp.h
Generated by
1.9.1