timeouts.h

Timer implementations.

Defines

LWIP_DEBUG_TIMERNAMES
SYS_TIMEOUTS_SLEEPTIME_INFINITE

Returned by sys_timeouts_sleeptime() to indicate there is no timer, so we can sleep forever.

Typedefs

typedef void (*lwip_cyclic_timer_handler)(void)

Function prototype for a stack-internal timer function that has to be called at a defined interval.

Variables

const struct lwip_cyclic_timer lwip_cyclic_timers[]

This array contains all stack-internal cyclic timers.

To get the number of timers, use lwip_num_cyclic_timers

const int lwip_num_cyclic_timers

Array size of lwip_cyclic_timers[].

struct lwip_cyclic_timer
#include <timeouts.h>

This struct contains information about a stack-internal timer function that has to be called at a defined interval.

Public Members

u32_t interval_ms
lwip_cyclic_timer_handler handler