sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
timeouts.c File Reference
#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/acd.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"

Go to the source code of this file.

Macros

#define HANDLER(x)
#define LWIP_MAX_TIMEOUT   0x7fffffff
#define TIME_LESS_THAN(t, compare_to)

Functions

void tcp_timer_needed (void)

Variables

const struct lwip_cyclic_timer lwip_cyclic_timers []
const int lwip_num_cyclic_timers = LWIP_ARRAYSIZE(lwip_cyclic_timers)

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 timeouts.c.

Macro Definition Documentation

◆ HANDLER

#define HANDLER ( x)
Value:
x

Definition at line 67 of file timeouts.c.

◆ LWIP_MAX_TIMEOUT

#define LWIP_MAX_TIMEOUT   0x7fffffff

Definition at line 70 of file timeouts.c.

◆ TIME_LESS_THAN

#define TIME_LESS_THAN ( t,
compare_to )
Value:
( (((u32_t)((t)-(compare_to))) > LWIP_MAX_TIMEOUT) ? 1 : 0 )

Definition at line 73 of file timeouts.c.

Function Documentation

◆ tcp_timer_needed()

void tcp_timer_needed ( void )

Definition at line 448 of file timeouts.c.

Variable Documentation

◆ lwip_cyclic_timers

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()

This array contains all stack-internal cyclic timers. To get the number of timers, use lwip_num_cyclic_timers

Definition at line 77 of file timeouts.c.

◆ lwip_num_cyclic_timers

const int lwip_num_cyclic_timers = LWIP_ARRAYSIZE(lwip_cyclic_timers)

Array size of lwip_cyclic_timers[]

Definition at line 117 of file timeouts.c.