FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | igmp_config_t_ |
IGMP interface configuration. More... | |
Macros | |
#define | foreach_igmp_config_timer_type |
GENERAL_REPORT = On expiry send a general report GENERAL_QUERY = On expiry send a general query. More... | |
#define | IGMP_CONFIG_N_TIMERS (IGMP_CONFIG_TIMER_GENERAL_QUERY + 1) |
#define | FOR_EACH_GROUP(_group, _config, _body) |
Typedefs | |
typedef enum igmp_config_timer_type_t_ | igmp_config_timer_type_t |
typedef struct igmp_config_t_ | igmp_config_t |
IGMP interface configuration. More... | |
Enumerations | |
enum | igmp_config_timer_type_t_ { foreach_igmp_config_timer_type } |
Functions | |
u8 * | format_igmp_config_timer_type (u8 *s, va_list *args) |
void | igmp_clear_config (igmp_config_t *config) |
igmp clear config More... | |
igmp_config_t * | igmp_config_lookup (u32 sw_if_index) |
igmp config lookup More... | |
u32 | igmp_config_index (const igmp_config_t *c) |
Get the pool index for a config. More... | |
igmp_config_t * | igmp_config_get (u32 index) |
Get the config from the pool index. More... | |
igmp_group_t * | igmp_group_lookup (igmp_config_t *config, const igmp_key_t *key) |
igmp group lookup More... | |
u8 * | format_igmp_config (u8 *s, va_list *args) |
#define FOR_EACH_GROUP | ( | _group, | |
_config, | |||
_body | |||
) |
Definition at line 85 of file igmp_config.h.
#define foreach_igmp_config_timer_type |
GENERAL_REPORT = On expiry send a general report GENERAL_QUERY = On expiry send a general query.
Definition at line 29 of file igmp_config.h.
#define IGMP_CONFIG_N_TIMERS (IGMP_CONFIG_TIMER_GENERAL_QUERY + 1) |
Definition at line 40 of file igmp_config.h.
typedef struct igmp_config_t_ igmp_config_t |
IGMP interface configuration.
typedef enum igmp_config_timer_type_t_ igmp_config_timer_type_t |
Enumerator | |
---|---|
foreach_igmp_config_timer_type |
Definition at line 33 of file igmp_config.h.
Definition at line 106 of file igmp_config.c.
void igmp_clear_config | ( | igmp_config_t * | config | ) |
igmp clear config
config | - igmp configuration |
Clear all (S,G)s on specified config and remove this config from pool.
Definition at line 22 of file igmp_config.c.
igmp_config_t* igmp_config_get | ( | u32 | index | ) |
Get the config from the pool index.
Definition at line 70 of file igmp_config.c.
u32 igmp_config_index | ( | const igmp_config_t * | c | ) |
Get the pool index for a config.
Definition at line 64 of file igmp_config.c.
igmp_config_t* igmp_config_lookup | ( | u32 | sw_if_index | ) |
igmp config lookup
sw_if_index | - interface sw_if_index |
Definition at line 45 of file igmp_config.c.
igmp_group_t* igmp_group_lookup | ( | igmp_config_t * | config, |
const igmp_key_t * | key | ||
) |
igmp group lookup
config | - igmp configuration |
key | - igmp key |
Definition at line 76 of file igmp_config.c.