![]() |
FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Include dependency graph for igmp_api.h: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.