sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
tcp.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
15
#ifndef LIBCGLUE_NETINET_TCP_H
16
#define LIBCGLUE_NETINET_TCP_H
17
18
/* Used to be a blanket #include <tcpip.h> - see libcglue's own
19
* sys/socket.h for the full story on why that header is real,
20
* pre-lwip-migration technical debt that conflicts with ps2ip's real
21
* lwip headers. Real, minimal, guarded values instead - byte-
22
* identical to both tcpip.h's own copy and real lwip's own
23
* lwip/sockets.h (core/ps2ip/include/lwip_include/lwip/sockets.h). */
24
#ifndef TCP_NODELAY
25
#define TCP_NODELAY 0x01
26
#endif
27
#ifndef TCP_KEEPALIVE
28
#define TCP_KEEPALIVE 0x02
29
#endif
30
#ifndef TCP_KEEPIDLE
31
#define TCP_KEEPIDLE 0x03
32
#endif
33
#ifndef TCP_KEEPINTVL
34
#define TCP_KEEPINTVL 0x04
35
#endif
36
#ifndef TCP_KEEPCNT
37
#define TCP_KEEPCNT 0x05
38
#endif
39
40
#endif
core
libcglue
include
netinet
tcp.h
Generated by
1.18.0