FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | igmp_config_t_ |
IGMP interface configuration. More... | |
Macros | |
#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_ { IGMP_CONFIG_TIMER_GENERAL_REPORT, IGMP_CONFIG_TIMER_GENERAL_QUERY } |
Functions | |
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... | |
#define FOR_EACH_GROUP | ( | _group, | |
_config, | |||
_body | |||
) |
Definition at line 76 of file igmp_config.h.
#define IGMP_CONFIG_N_TIMERS (IGMP_CONFIG_TIMER_GENERAL_QUERY + 1) |
Definition at line 38 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 | |
---|---|
IGMP_CONFIG_TIMER_GENERAL_REPORT |
On expiry send a general report. |
IGMP_CONFIG_TIMER_GENERAL_QUERY |
On expiry send a general query. |
Definition at line 25 of file igmp_config.h.
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
im | - igmp main |
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.