diff options
Diffstat (limited to 'include/netinet/tcp.h')
-rw-r--r-- | include/netinet/tcp.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index 52358c75..f9b84648 100644 --- a/include/netinet/tcp.h +++ b/include/netinet/tcp.h @@ -41,7 +41,20 @@ #define TCP_CLOSING 11 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define TCPOPT_EOL 0 +#define TCPOPT_NOP 1 +#define TCPOPT_MAXSEG 2 +#define TCPOPT_WINDOW 3 +#define TCPOPT_SACK_PERMITTED 4 +#define TCPOPT_SACK 5 +#define TCPOPT_TIMESTAMP 8 +#define TCPOLEN_SACK_PERMITTED 2 +#define TCPOLEN_WINDOW 3 +#define TCPOLEN_MAXSEG 4 +#define TCPOLEN_TIMESTAMP 10 + #define SOL_TCP 6 + #include <sys/types.h> #include <sys/socket.h> #include <stdint.h> |