20 import "vnet/ip/ip_types.api";
21 import "vnet/interface_types.api";
67 vl_api_filter_mode_t filter;
179 autoreply define igmp_clear_interface
194 autoreply define want_igmp_events
204 rpc want_igmp_events returns want_igmp_events_reply
239 vl_api_group_prefix_type_t
type;
253 vl_api_group_prefix_t
gp;
256 define igmp_group_prefix_dump
262 define igmp_group_prefix_details
266 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
int igmp_proxy_device_add_del_interface(u32 vrf_id, u32 sw_if_index, u8 add)
IGMP proxy device add/del interface.
vl_api_filter_mode_t filter
vl_api_interface_index_t sw_if_index
typedef igmp_group
Used by a 'host' to enable the reception/listening of packets for a specific multicast group...
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.
vl_api_fib_path_type_t type
int igmp_enable_disable(u32 sw_if_index, u8 enable, igmp_mode_t mode)
IGMP interface enable/disable.
vl_api_ip4_address_t saddrs[n_srcs]
vl_api_ip4_address_t saddr
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
vl_api_interface_index_t sw_if_index
vl_api_igmp_group_t group
vl_api_ip4_address_t gaddr
vl_api_ip4_address_t gaddr
void igmp_group_prefix_set(const fib_prefix_t *pfx, igmp_group_prefix_type_t type)
vl_api_interface_index_t sw_if_index
typedef group_prefix
Definition of a Group prefix and its type.
vl_api_ip4_address_t saddr
vl_api_interface_index_t sw_if_index
group_prefix_type
enum to specify either ASM or SSM semantics
int igmp_proxy_device_add_del(u32 vrf_id, u32 sw_if_index, u8 add)
IGMP proxy device add/del.
vl_api_interface_index_t sw_if_index