FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | igmp_timer_t_ |
Timer. More... | |
Macros | |
#define | IGMP_N_TIMERS (IGMP_TIMER_REPORT_INTERVAL+1) |
Typedefs | |
typedef struct igmp_timer_t_ | igmp_timer_t |
Timer. More... | |
Enumerations | |
enum | { IGMP_PROCESS_EVENT_UPDATE_TIMER = 1 } |
Functions | |
u32 | igmp_timer_type_get (igmp_timer_type_t t) |
void | igmp_timer_type_set (igmp_timer_type_t t, u32 v) |
static int | igmp_timer_compare (const void *_v1, const void *_v2) |
u32 | igmp_get_next_timer (void) |
igmp get next timer More... | |
void * | igmp_timer_get_data (igmp_timer_id_t tid) |
void | igmp_timer_set_data (igmp_timer_id_t tid, void *data) |
int | igmp_timer_is_running (igmp_timer_id_t tid) |
static uword | igmp_timer_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
igmp timer process More... | |
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. More... | |
void | igmp_timer_retire (igmp_timer_id_t *tid) |
Variables | |
static igmp_timer_type_t | igmp_default_timer_values [] |
Default timer values as per RFC. More... | |
enum { ... } | igmp_process_event_t |
static igmp_timer_t * | timer_pool |
pool of timers More... | |
static u32 * | pending_timers |
Vector of pending timers. More... | |
vlib_node_registration_t | igmp_timer_process_node |
(constructor) VLIB_REGISTER_NODE (igmp_timer_process_node) More... | |
#define IGMP_N_TIMERS (IGMP_TIMER_REPORT_INTERVAL+1) |
Definition at line 32 of file igmp_timer.c.
typedef struct igmp_timer_t_ igmp_timer_t |
Timer.
anonymous enum |
Enumerator | |
---|---|
IGMP_PROCESS_EVENT_UPDATE_TIMER |
Definition at line 52 of file igmp_timer.c.
u32 igmp_get_next_timer | ( | void | ) |
igmp get next timer
im | - igmp main |
Get next timer.
Definition at line 103 of file igmp_timer.c.
|
static |
void* igmp_timer_get_data | ( | igmp_timer_id_t | tid | ) |
int igmp_timer_is_running | ( | igmp_timer_id_t | tid | ) |
Definition at line 132 of file igmp_timer.c.
|
static |
igmp timer process
vm | - vlib main |
rt | - vlib runtime node |
f | - vlib frame |
Handle igmp timers.
Definition at line 145 of file igmp_timer.c.
void igmp_timer_retire | ( | igmp_timer_id_t * | tid | ) |
Definition at line 222 of file igmp_timer.c.
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.
Definition at line 196 of file igmp_timer.c.
void igmp_timer_set_data | ( | igmp_timer_id_t | tid, |
void * | data | ||
) |
u32 igmp_timer_type_get | ( | igmp_timer_type_t | t | ) |
void igmp_timer_type_set | ( | igmp_timer_type_t | t, |
u32 | v | ||
) |
|
static |
Default timer values as per RFC.
Definition at line 25 of file igmp_timer.c.
enum { ... } igmp_process_event_t |
vlib_node_registration_t igmp_timer_process_node |
(constructor) VLIB_REGISTER_NODE (igmp_timer_process_node)
Definition at line 186 of file igmp_timer.c.
|
static |
Vector of pending timers.
Definition at line 65 of file igmp_timer.c.
|
static |
pool of timers
Definition at line 60 of file igmp_timer.c.