Go to the source code of this file.
◆ IGMP_N_TIMERS
#define IGMP_N_TIMERS (IGMP_TIMER_REPORT_INTERVAL+1) |
◆ igmp_timer_t
◆ anonymous enum
Enumerator |
---|
IGMP_PROCESS_EVENT_UPDATE_TIMER | |
Definition at line 52 of file igmp_timer.c.
◆ format_igmp_timer_id()
u8* format_igmp_timer_id |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ igmp_get_next_timer()
u32 igmp_get_next_timer |
( |
void |
| ) |
|
igmp get next timer
- Parameters
-
Get next timer.
Definition at line 103 of file igmp_timer.c.
◆ igmp_timer_compare()
static int igmp_timer_compare |
( |
const void * |
_v1, |
|
|
const void * |
_v2 |
|
) |
| |
|
static |
◆ igmp_timer_get_data()
◆ igmp_timer_is_running()
◆ igmp_timer_process()
igmp timer process
- Parameters
-
vm | - vlib main |
rt | - vlib runtime node |
f | - vlib frame |
Handle igmp timers.
Definition at line 145 of file igmp_timer.c.
◆ igmp_timer_retire()
◆ igmp_timer_schedule()
Schedule a timer to expire in 'when' seconds.
Definition at line 196 of file igmp_timer.c.
◆ igmp_timer_set_data()
◆ igmp_timer_type_get()
◆ igmp_timer_type_set()
◆ igmp_default_timer_values
Initial value:= {
[IGMP_TIMER_QUERY] = 60,
[IGMP_TIMER_SRC] = (3 * 60),
[IGMP_TIMER_LEAVE] = 60,
[IGMP_TIMER_REPORT_INTERVAL] = 1,
}
Default timer values as per RFC.
Definition at line 25 of file igmp_timer.c.
◆ igmp_process_event_t
enum { ... } igmp_process_event_t |
◆ igmp_timer_process_node
Initial value:=
{
.name = "igmp-timer-process",
.n_next_nodes = 0,
}
static uword igmp_timer_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
igmp timer process
(constructor) VLIB_REGISTER_NODE (igmp_timer_process_node)
Definition at line 186 of file igmp_timer.c.
◆ pending_timers
◆ timer_pool