|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
48 if (IGMP_MODE_ROUTER ==
src->mode)
84 src->group = group_index;
87 if (IGMP_MODE_ROUTER ==
mode)
150 u32 indent = va_arg (*args,
u32);
enum igmp_mode_t_ igmp_mode_t
vnet_interface_main_t * im
IGMP source The representation of a specified source address with in multicast group.
@ IGMP_SRC_TIMER_EXP
On expiry the source has not been refreshed by a query and can now be reaped.
u32 igmp_group_n_srcs(const igmp_group_t *group, igmp_filter_mode_t mode)
igmp_src_t * srcs
pool of sources
#define clib_memcpy(d, s, n)
igmp_config_t * igmp_config_get(u32 index)
Get the config from the pool index.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
void igmp_timer_retire(igmp_timer_id_t *tid)
IGMP interface configuration.
#define IGMP_TIMER_ID_INVALID
void igmp_src_refresh(igmp_src_t *src)
void igmp_group_src_remove(igmp_group_t *group, igmp_src_t *src)
static void clib_mem_free(void *p)
void igmp_group_clear(igmp_group_t **group)
IGMP group A multicast group address for which reception has been requested.
vl_api_tunnel_mode_t mode
#define pool_put(P, E)
Free an object E in pool P.
u8 * format_igmp_timer_id(u8 *s, va_list *args)
u32 config
The pool index of the config object this group is in.
u32 igmp_timer_type_get(igmp_timer_type_t t)
igmp_group_t * igmp_group_get(u32 index)
u32 igmp_src_index(igmp_src_t *src)
#define pool_get(P, E)
Allocate an object E from a pool P (unspecified alignment).
void igmp_src_free(igmp_src_t *src)
igmp_key_t * key
The group's key within the per-interface config.
description fragment has unexpected format
void igmp_src_blocked(igmp_src_t *src)
clib_memset(h->entries, 0, sizeof(h->entries[0]) *entries)
static void igmp_src_exp(u32 obj, void *dat)
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.
static void * clib_mem_alloc(uword size)
u8 * format_igmp_src(u8 *s, va_list *args)
collection of data related to IGMP
igmp_timer_id_t igmp_timer_schedule(f64 when, u32 obj, igmp_timer_function_t fn, void *data)
Schedule a timer to expire in 'when' seconds.
void igmp_proxy_device_block_src(igmp_config_t *config, igmp_group_t *group, igmp_src_t *src)
igmp_src_t * igmp_src_alloc(u32 group_index, const igmp_key_t *skey, igmp_mode_t mode)
ip46_address_t igmp_key_t
IGMP Key Used to index groups within an interface config and sources within a list.