![]() |
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Include dependency graph for igmp_timer.c: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) |
| u8 * | format_igmp_timer_id (u8 *s, va_list *args) |
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.
Definition at line 235 of file igmp_timer.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 igmp_get_next_timer | ( | void | ) |
igmp get next timer
Get next timer.
Definition at line 102 of file igmp_timer.c.
Here is the caller graph for this function:
|
static |
| void* igmp_timer_get_data | ( | igmp_timer_id_t | tid | ) |
| int igmp_timer_is_running | ( | igmp_timer_id_t | tid | ) |
Definition at line 131 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 144 of file igmp_timer.c.
Here is the call graph for this function:| void igmp_timer_retire | ( | igmp_timer_id_t * | tid | ) |
Definition at line 221 of file igmp_timer.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 195 of file igmp_timer.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 185 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.