ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include "lwip/opt.h"
#include "lwip/timeouts.h"
#include "lwip/priv/tcp_priv.h"
#include "lwip/def.h"
#include "lwip/memp.h"
#include "lwip/priv/tcpip_priv.h"
#include "lwip/ip4_frag.h"
#include "lwip/etharp.h"
#include "lwip/dhcp.h"
#include "lwip/autoip.h"
#include "lwip/igmp.h"
#include "lwip/dns.h"
#include "lwip/nd6.h"
#include "lwip/ip6_frag.h"
#include "lwip/mld6.h"
#include "lwip/dhcp6.h"
#include "lwip/sys.h"
#include "lwip/pbuf.h"
Macros | |
#define | HANDLER(x) x |
#define | LWIP_MAX_TIMEOUT 0x7fffffff |
#define | TIME_LESS_THAN(t, compare_to) ( (((u32_t)((t)-(compare_to))) > LWIP_MAX_TIMEOUT) ? 1 : 0 ) |
Functions | |
void | tcp_timer_needed (void) |
u32_t | sys_now (void) |
Returns the current time in milliseconds when LWIP_TIMERS == 1 and NO_SYS == 1. More... | |
void | set_sys_time (u32_t sys_time_new) |
Variables | |
const struct lwip_cyclic_timer | lwip_cyclic_timers [] |
const int | lwip_num_cyclic_timers = LWIP_ARRAYSIZE(lwip_cyclic_timers) |
u32_t | sys_time = 0 |
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.
#define HANDLER | ( | x | ) | x |
#define LWIP_MAX_TIMEOUT 0x7fffffff |
#define TIME_LESS_THAN | ( | t, | |
compare_to | |||
) | ( (((u32_t)((t)-(compare_to))) > LWIP_MAX_TIMEOUT) ? 1 : 0 ) |
void set_sys_time | ( | u32_t | sys_time_new | ) |
References sys_time.
Referenced by TProtocol_IP_Over_ETHERNET::Execute_1ms().
void tcp_timer_needed | ( | void | ) |
const struct lwip_cyclic_timer lwip_cyclic_timers[] |
This array contains all stack-internal cyclic timers. To get the number of timers, use LWIP_ARRAYSIZE()
const int lwip_num_cyclic_timers = LWIP_ARRAYSIZE(lwip_cyclic_timers) |
Array size of lwip_cyclic_timers[]
u32_t sys_time = 0 |
Referenced by set_sys_time(), and sys_now().