20 import "vnet/ip/ip_types.api";
64 typeonly define igmp_group
70 vl_api_ip4_address_t saddrs[n_srcs];
136 autoreply define igmp_clear_interface
151 autoreply define want_igmp_events
161 rpc want_igmp_events returns want_igmp_events_reply
198 vl_api_group_prefix_type_t type;
212 vl_api_group_prefix_t
gp;
215 define igmp_group_prefix_dump
221 define igmp_group_prefix_details
225 vl_api_group_prefix_t
gp;
int igmp_listen(vlib_main_t *vm, igmp_filter_mode_t mode, u32 sw_if_index, const ip46_address_t *saddrs, const ip46_address_t *gaddr)
igmp listen Called by a host to request reception of multicast packets
vl_api_filter_mode_t filter
vl_api_filter_mode_t filter
vl_api_ip4_address_t gaddr
void igmp_event(igmp_filter_mode_t filter, u32 sw_if_index, const ip46_address_t *saddr, const ip46_address_t *gaddr)
Send an IGMP event to listening parties.
int igmp_enable_disable(u32 sw_if_index, u8 enable, igmp_mode_t mode)
IGMP interface enable/disable.
vl_api_ip4_address_t saddr
vl_api_igmp_group_t group
vl_api_ip4_address_t gaddr
void igmp_group_prefix_set(const fib_prefix_t *pfx, igmp_group_prefix_type_t type)
Used by a 'host' to enable the reception/listening of packets for a specific multicast group...
typedef group_prefix
Definition of a Group prefix and its type.
vl_api_ip4_address_t gaddr
vl_api_ip4_address_t saddr
group_prefix_type
enum to specify either ASM or SSM semantics