Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
Stack-internal timers implementation. More...
Go to the source code of this file.
Functions | |
| static void | tcpip_tcp_timer (void *arg) |
| Timer callback function that calls tcp_tmr() and reschedules itself. | |
| void | tcp_timer_needed (void) |
| Called from TCP_REG when registering a new PCB: the reason is to have the TCP timer only running when there are active (or time-wait) PCBs. | |
Variables | |
| struct lwip_cyclic_timer | lwip_cyclic_timers [] |
| This array contains all stack-internal cyclic timers. | |
| const int | lwip_num_cyclic_timers = LWIP_ARRAYSIZE(lwip_cyclic_timers) |
| Array size of lwip_cyclic_timers[]. | |
| static struct sys_timeo * | next_timeout |
| The one and only timeout list. | |
| static int | tcpip_tcp_timer_active |
| global variable that shows if the tcp timer is currently scheduled or not | |
Detailed Description
Stack-internal timers implementation.
This file includes timer callbacks for stack-internal timers as well as functions to set up or stop timers and check for expired timers.
Definition in file lwip_timeouts.c.
Function Documentation
| void tcp_timer_needed | ( | void | ) |
Called from TCP_REG when registering a new PCB: the reason is to have the TCP timer only running when there are active (or time-wait) PCBs.
External function (implemented in timers.c), called when TCP detects that a timer is needed (i.e.
Definition at line 166 of file lwip_timeouts.c.
| static void tcpip_tcp_timer | ( | void * | arg ) | [static] |
Timer callback function that calls tcp_tmr() and reschedules itself.
- Parameters:
-
arg unused argument
Definition at line 144 of file lwip_timeouts.c.
Variable Documentation
| struct lwip_cyclic_timer lwip_cyclic_timers[] |
This array contains all stack-internal cyclic timers.
To get the number of timers, use LWIP_ARRAYSIZE()
Definition at line 77 of file lwip_timeouts.c.
| const int lwip_num_cyclic_timers = LWIP_ARRAYSIZE(lwip_cyclic_timers) |
Array size of lwip_cyclic_timers[].
Definition at line 117 of file lwip_timeouts.c.
struct sys_timeo* next_timeout [static] |
The one and only timeout list.
Definition at line 122 of file lwip_timeouts.c.
int tcpip_tcp_timer_active [static] |
global variable that shows if the tcp timer is currently scheduled or not
Definition at line 136 of file lwip_timeouts.c.
Generated on Tue Jul 12 2022 13:55:15 by
1.7.2