From 4d7517a63075fa123477bcb442fabb9bc9d2e4af Mon Sep 17 00:00:00 2001 From: rw-r-r-0644 Date: Sat, 23 Feb 2019 12:12:36 +0100 Subject: [PATCH] nsysnet: Add other supported socket options --- include/nsysnet/socket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nsysnet/socket.h b/include/nsysnet/socket.h index 5647b78..7c420cb 100644 --- a/include/nsysnet/socket.h +++ b/include/nsysnet/socket.h @@ -52,6 +52,8 @@ extern "C" { #define SO_BROADCAST 0x0020 // broadcast #define SO_LINGER 0x0080 // linger (no effect?) #define SO_OOBINLINE 0x0100 // out-of-band data inline (no effect?) +#define SO_TCPSACK 0x0200 // set tcp selective acknowledgment +#define SO_WINSCALE 0x0400 // set tcp window scaling #define SO_SNDBUF 0x1001 // send buffer size #define SO_RCVBUF 0x1002 // receive buffer size #define SO_SNDLOWAT 0x1003 // send low-water mark (no effect?)