add new linux tcp socket option flags to netinet/tcp.h

This commit is contained in:
Szabolcs Nagy 2013-03-23 19:49:38 +00:00
parent 201e6603c3
commit 2e762105b7
1 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,16 @@
#define TCP_QUICKACK 12 #define TCP_QUICKACK 12
#define TCP_CONGESTION 13 #define TCP_CONGESTION 13
#define TCP_MD5SIG 14 #define TCP_MD5SIG 14
#define TCP_COOKIE_TRANSACTIONS 15
#define TCP_THIN_LINEAR_TIMEOUTS 16
#define TCP_THIN_DUPACK 17
#define TCP_USER_TIMEOUT 18
#define TCP_REPAIR 19
#define TCP_REPAIR_QUEUE 20
#define TCP_QUEUE_SEQ 21
#define TCP_REPAIR_OPTIONS 22
#define TCP_FASTOPEN 23
#define TCP_TIMESTAMP 24
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define SOL_TCP 6 #define SOL_TCP 6