mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-08 07:23:33 +00:00
23e235b7a5
This change integrates e58abc1110b335a3341e8ad5821ad8e3880d9bb2 from https://github.com/ahgamut/musl-cross-make/ which fixes the issues we were having with our C language extension for symbolic constants. This change also performs some code cleanup and bug fixes to getaddrinfo(). It's now possible to compile projects like ncurses, readline and python without needing to patch anything upstream, except maybe a line or two. Pretty soon it should be possible to build a Linux distro on Cosmo.
103 lines
4.3 KiB
C
103 lines
4.3 KiB
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_TCP_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_TCP_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const int TCP_CC_INFO;
|
|
extern const int TCP_CONGESTION;
|
|
extern const int TCP_COOKIE_TRANSACTIONS;
|
|
extern const int TCP_CORK;
|
|
extern const int TCP_DEFER_ACCEPT;
|
|
extern const int TCP_FASTOPEN;
|
|
extern const int TCP_FASTOPEN_CONNECT;
|
|
extern const int TCP_INFO;
|
|
extern const int TCP_KEEPCNT;
|
|
extern const int TCP_KEEPIDLE;
|
|
extern const int TCP_KEEPINTVL;
|
|
extern const int TCP_LINGER2;
|
|
extern const int TCP_MAXSEG;
|
|
extern const int TCP_MD5SIG;
|
|
extern const int TCP_MD5SIG_MAXKEYLEN;
|
|
extern const int TCP_NODELAY;
|
|
extern const int TCP_NOTSENT_LOWAT;
|
|
extern const int TCP_QUEUE_SEQ;
|
|
extern const int TCP_QUICKACK;
|
|
extern const int TCP_REPAIR;
|
|
extern const int TCP_REPAIR_OPTIONS;
|
|
extern const int TCP_REPAIR_QUEUE;
|
|
extern const int TCP_SAVED_SYN;
|
|
extern const int TCP_SAVE_SYN;
|
|
extern const int TCP_SYNCNT;
|
|
extern const int TCP_THIN_DUPACK;
|
|
extern const int TCP_THIN_LINEAR_TIMEOUTS;
|
|
extern const int TCP_TIMESTAMP;
|
|
extern const int TCP_ULP;
|
|
extern const int TCP_USER_TIMEOUT;
|
|
extern const int TCP_WINDOW_CLAMP;
|
|
|
|
#define TCP_NODELAY 1
|
|
#define TCP_CC_INFO TCP_CC_INFO
|
|
#define TCP_CONGESTION TCP_CONGESTION
|
|
#define TCP_COOKIE_TRANSACTIONS TCP_COOKIE_TRANSACTIONS
|
|
#define TCP_CORK TCP_CORK
|
|
#define TCP_DEFER_ACCEPT TCP_DEFER_ACCEPT
|
|
#define TCP_FASTOPEN TCP_FASTOPEN
|
|
#define TCP_FASTOPEN_CONNECT TCP_FASTOPEN_CONNECT
|
|
#define TCP_INFO TCP_INFO
|
|
#define TCP_KEEPCNT TCP_KEEPCNT
|
|
#define TCP_KEEPIDLE TCP_KEEPIDLE
|
|
#define TCP_KEEPINTVL TCP_KEEPINTVL
|
|
#define TCP_LINGER2 TCP_LINGER2
|
|
#define TCP_MAXSEG TCP_MAXSEG
|
|
#define TCP_MD5SIG TCP_MD5SIG
|
|
#define TCP_MD5SIG_MAXKEYLEN TCP_MD5SIG_MAXKEYLEN
|
|
#define TCP_NOTSENT_LOWAT TCP_NOTSENT_LOWAT
|
|
#define TCP_QUEUE_SEQ TCP_QUEUE_SEQ
|
|
#define TCP_QUICKACK TCP_QUICKACK
|
|
#define TCP_REPAIR TCP_REPAIR
|
|
#define TCP_REPAIR_OPTIONS TCP_REPAIR_OPTIONS
|
|
#define TCP_REPAIR_QUEUE TCP_REPAIR_QUEUE
|
|
#define TCP_SAVED_SYN TCP_SAVED_SYN
|
|
#define TCP_SAVE_SYN TCP_SAVE_SYN
|
|
#define TCP_SYNCNT TCP_SYNCNT
|
|
#define TCP_THIN_DUPACK TCP_THIN_DUPACK
|
|
#define TCP_THIN_LINEAR_TIMEOUTS TCP_THIN_LINEAR_TIMEOUTS
|
|
#define TCP_TIMESTAMP TCP_TIMESTAMP
|
|
#define TCP_ULP TCP_ULP
|
|
#define TCP_USER_TIMEOUT TCP_USER_TIMEOUT
|
|
#define TCP_WINDOW_CLAMP TCP_WINDOW_CLAMP
|
|
|
|
#define __tmpcosmo_TCP_CC_INFO 8361104
|
|
#define __tmpcosmo_TCP_CONGESTION 372467383
|
|
#define __tmpcosmo_TCP_COOKIE_TRANSACTIONS 1651367691
|
|
#define __tmpcosmo_TCP_CORK -1349156951
|
|
#define __tmpcosmo_TCP_DEFER_ACCEPT -1542762903
|
|
#define __tmpcosmo_TCP_FASTOPEN 684735969
|
|
#define __tmpcosmo_TCP_FASTOPEN_CONNECT -955771783
|
|
#define __tmpcosmo_TCP_INFO -1828641436
|
|
#define __tmpcosmo_TCP_KEEPCNT -1493518283
|
|
#define __tmpcosmo_TCP_KEEPIDLE 1644196464
|
|
#define __tmpcosmo_TCP_KEEPINTVL -1302451218
|
|
#define __tmpcosmo_TCP_LINGER2 2018829991
|
|
#define __tmpcosmo_TCP_MAXSEG -597390935
|
|
#define __tmpcosmo_TCP_MD5SIG 563016186
|
|
#define __tmpcosmo_TCP_MD5SIG_MAXKEYLEN -133830736
|
|
#define __tmpcosmo_TCP_NOTSENT_LOWAT -2088313237
|
|
#define __tmpcosmo_TCP_QUEUE_SEQ 1778827934
|
|
#define __tmpcosmo_TCP_QUICKACK 602576474
|
|
#define __tmpcosmo_TCP_REPAIR 1790031809
|
|
#define __tmpcosmo_TCP_REPAIR_OPTIONS 144244650
|
|
#define __tmpcosmo_TCP_REPAIR_QUEUE 1799003915
|
|
#define __tmpcosmo_TCP_SAVED_SYN 1886200148
|
|
#define __tmpcosmo_TCP_SAVE_SYN 1349318664
|
|
#define __tmpcosmo_TCP_SYNCNT 2092611841
|
|
#define __tmpcosmo_TCP_THIN_DUPACK 1467229918
|
|
#define __tmpcosmo_TCP_THIN_LINEAR_TIMEOUTS 690546238
|
|
#define __tmpcosmo_TCP_TIMESTAMP 176258895
|
|
#define __tmpcosmo_TCP_ULP 1811889822
|
|
#define __tmpcosmo_TCP_USER_TIMEOUT -466589242
|
|
#define __tmpcosmo_TCP_WINDOW_CLAMP -845861568
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_TCP_H_ */
|