FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | igmp_group_t_ |
IGMP group A multicast group address for which reception has been requested. More... | |
Macros | |
#define | foreach_igmp_group_timer |
QUERY_REPLY = Timer running to reply to a G/SG specific query QUERY_SENT = wait for response from a sent G/SG specific query. More... | |
#define | IGMP_GROUP_N_TIMERS (IGMP_GROUP_TIMER_FILTER_MODE_CHANGE + 1) |
#define | FOR_EACH_SRC(_src, _group, _filter, _body) |
Typedefs | |
typedef enum igmp_group_timer_type_t_ | igmp_group_timer_type_t |
Types of timers maintained for each group. More... | |
typedef struct igmp_group_t_ | igmp_group_t |
IGMP group A multicast group address for which reception has been requested. More... | |
Enumerations | |
enum | igmp_group_timer_type_t_ { foreach_igmp_group_timer } |
Types of timers maintained for each group. More... | |
#define FOR_EACH_SRC | ( | _src, | |
_group, | |||
_filter, | |||
_body | |||
) |
Definition at line 90 of file igmp_group.h.
#define foreach_igmp_group_timer |
QUERY_REPLY = Timer running to reply to a G/SG specific query QUERY_SENT = wait for response from a sent G/SG specific query.
Sent when a host leaves a group RESEND_REPORT = Timer running to resend report FILTER_MODE_CHANGE = to check if the group can swap to INCLUDE mode (section 6.2.2)
Definition at line 32 of file igmp_group.h.
#define IGMP_GROUP_N_TIMERS (IGMP_GROUP_TIMER_FILTER_MODE_CHANGE + 1) |
Definition at line 48 of file igmp_group.h.
typedef struct igmp_group_t_ igmp_group_t |
IGMP group A multicast group address for which reception has been requested.
typedef enum igmp_group_timer_type_t_ igmp_group_timer_type_t |
Types of timers maintained for each group.
Types of timers maintained for each group.
Enumerator | |
---|---|
foreach_igmp_group_timer |
Definition at line 41 of file igmp_group.h.
Definition at line 299 of file igmp_group.c.
igmp_group_t* igmp_group_alloc | ( | struct igmp_config_t_ * | config, |
const igmp_key_t * | gkey, | ||
igmp_filter_mode_t | mode | ||
) |
Definition at line 104 of file igmp_group.c.
void igmp_group_clear | ( | igmp_group_t ** | group | ) |
Definition at line 68 of file igmp_group.c.
void igmp_group_free_all_srcs | ( | igmp_group_t * | group | ) |
Definition at line 22 of file igmp_group.c.
igmp_group_t* igmp_group_get | ( | u32 | index | ) |
u32 igmp_group_index | ( | const igmp_group_t * | g | ) |
u32 igmp_group_n_srcs | ( | const igmp_group_t * | group, |
igmp_filter_mode_t | mode | ||
) |
Definition at line 251 of file igmp_group.c.
ip46_address_t* igmp_group_new_intersect_present | ( | igmp_group_t * | group, |
igmp_filter_mode_t | mode, | ||
const ip46_address_t * | saddrs | ||
) |
ip46_address_t* igmp_group_new_minus_present | ( | igmp_group_t * | group, |
igmp_filter_mode_t | mode, | ||
const ip46_address_t * | saddrs | ||
) |
the set of new sources minus the present set
Definition at line 190 of file igmp_group.c.
ip46_address_t* igmp_group_present_minus_new | ( | igmp_group_t * | group, |
igmp_filter_mode_t | mode, | ||
const ip46_address_t * | saddrs | ||
) |
the set of present sources minus the new set
Definition at line 144 of file igmp_group.c.
void igmp_group_src_remove | ( | igmp_group_t * | group, |
igmp_src_t * | src | ||
) |
igmp_src_t* igmp_group_src_update | ( | igmp_group_t * | group, |
const igmp_key_t * | skey, | ||
igmp_mode_t | mode | ||
) |
Definition at line 45 of file igmp_group.c.
igmp_src_t* igmp_src_lookup | ( | igmp_group_t * | group, |
const igmp_key_t * | key | ||
) |
igmp group lookup
group | - igmp group |
key | - igmp key |
Definition at line 258 of file igmp_group.c.