37 #ifndef LWIP_HDR_PROT_IGMP_H
38 #define LWIP_HDR_PROT_IGMP_H
52 #define ROUTER_ALERT 0x9404U
53 #define ROUTER_ALERTLEN 4
58 #define IGMP_MEMB_QUERY 0x11
59 #define IGMP_V1_MEMB_REPORT 0x12
60 #define IGMP_V2_MEMB_REPORT 0x16
61 #define IGMP_LEAVE_GROUP 0x17
64 #define IGMP_GROUP_NON_MEMBER 0
65 #define IGMP_GROUP_DELAYING_MEMBER 1
66 #define IGMP_GROUP_IDLE_MEMBER 2
71 #ifdef PACK_STRUCT_USE_INCLUDES
82 #ifdef PACK_STRUCT_USE_INCLUDES
#define PACK_STRUCT_END
Definition: arch.h:316
uint8_t u8_t
Definition: arch.h:125
#define PACK_STRUCT_BEGIN
Definition: arch.h:307
uint16_t u16_t
Definition: arch.h:127
PACK_STRUCT_BEGIN struct igmp_msg PACK_STRUCT_STRUCT
typedefPACK_STRUCT_END struct ip4_addr_packed ip4_addr_p_t
Definition: ip4.h:61
PACK_STRUCT_FLD_8(u8_t igmp_maxresp)
PACK_STRUCT_FLD_8(u8_t igmp_msgtype)
PACK_STRUCT_FIELD(u16_t igmp_checksum)
PACK_STRUCT_FLD_S(ip4_addr_p_t igmp_group_address)