FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
igmp_api.h File Reference
+ 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...
 

Function Documentation

◆ igmp_enable_disable()

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.

Parameters
sw_if_index- Interface
enable- enable/disable
mode- Host (1) or router (0)

◆ igmp_listen()

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).

Parameters
vm- vlib main
enable- 0 == remove (S,G), else add (S,G), aka. include/exclude
sw_if_index- interface sw_if_index
saddr- source address
gaddr- group address

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.