40 #ifndef included_vnet_igmp_packet_h 41 #define included_vnet_igmp_packet_h 46 #define foreach_igmp_type \ 47 _ (0x11, membership_query) \ 48 _ (0x12, membership_report_v1) \ 51 _ (0x15, cisco_trace) \ 52 _ (0x16, membership_report_v2) \ 53 _ (0x17, leave_group_v2) \ 54 _ (0x1e, traceroute_response) \ 55 _ (0x1f, traceroute_request) \ 56 _ (0x22, membership_report_v3) \ 57 _ (0x30, router_advertisement) \ 58 _ (0x31, router_solicitation) \ 59 _ (0x32, router_termination) 62 #define _(n,f) IGMP_TYPE_##f = n, 83 #define foreach_igmp_membership_group_v3_type \ 84 _ (1, mode_is_filter_include) \ 85 _ (2, mode_is_filter_exclude) \ 86 _ (3, change_to_filter_include) \ 87 _ (4, change_to_filter_exclude) \ 88 _ (5, allow_new_sources) \ 89 _ (6, block_old_sources) 92 #define _(n,f) IGMP_MEMBERSHIP_GROUP_##f = n, always_inline igmp_membership_group_v3_t * igmp_membership_group_v3_next(igmp_membership_group_v3_t *g)
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
igmp_membership_group_v3_type_t
#define foreach_igmp_membership_group_v3_type
ip4_address_t dst_address
#define foreach_igmp_type
ip4_address_t src_addresses[0]