Helper Reference Manual 1.7.1
Loading...
Searching...
No Matches
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
16extern "C" {
17#endif
18
30typedef struct ODP_PACKED {
31 uint8_t type;
32 uint8_t code;
33 odp_u16be_t csum;
34 odp_u32be_t group;
36
38#define ODPH_IGMP_HLEN sizeof(odph_igmphdr_t)
39
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* ODP_IGMP_H_ */
struct ODP_PACKED odph_igmphdr_t
Simplified IGMP protocol header.
Ethernet MAC address.
Definition eth.h:54
odp_u16be_t csum
Checksum.
Definition igmp.h:33
odp_u16be_t type
EtherType.
Definition eth.h:64
odp_u32be_t group
Group address.
Definition igmp.h:34
uint8_t code
type sub-code
Definition icmp.h:32