FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
int | igmp_enable_disable (u32 sw_if_index, u8 enable, u8 mode) |
IGMP interface enable/disable Called by a router to enable/disable the reception of IGMP messages. More... | |
int | igmp_listen (vlib_main_t *vm, u8 enable, u32 sw_if_index, const ip46_address_t *saddr, const ip46_address_t *gaddr) |
igmp listen (RFC3376 Section 2). More... | |
IGMP interface enable/disable Called by a router to enable/disable the reception of IGMP messages.
sw_if_index | - Interface |
enable | - enable/disable |
mode | - Host (1) or router (0) |
int igmp_listen | ( | vlib_main_t * | vm, |
u8 | enable, | ||
u32 | sw_if_index, | ||
const ip46_address_t * | saddr, | ||
const ip46_address_t * | gaddr | ||
) |
igmp listen (RFC3376 Section 2).
vm | - vlib main |
enable | - 0 == remove (S,G), else add (S,G), aka. include/exclue |
sw_if_index | - interface sw_if_index |
saddr | - source address |
gaddr | - group address |
cli_api_configured | - if zero, an igmp report has been received on interface |
Add/del (S,G) on an interface. If user configured, send a status change report from the interface. If a report was received on interface notify registered api clients.