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) 63 #define _(n,f) IGMP_TYPE_##f = n, 86 #define foreach_igmp_membership_group_v3_type \ 87 _ (1, mode_is_filter_include) \ 88 _ (2, mode_is_filter_exclude) \ 89 _ (3, change_to_filter_include) \ 90 _ (4, change_to_filter_exclude) \ 91 _ (5, allow_new_sources) \ 92 _ (6, block_old_sources) 96 #define _(n,f) IGMP_MEMBERSHIP_GROUP_##f = n, static igmp_membership_group_v3_t * igmp_membership_group_v3_next(igmp_membership_group_v3_t *g)
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]