s3: allow setting the TCP_QUICKACK socket option
authorBjörn Jacke <bj@sernet.de>
Tue, 14 Jul 2009 20:23:39 +0000 (22:23 +0200)
committerBjörn Jacke <bj@sernet.de>
Tue, 14 Jul 2009 20:29:59 +0000 (22:29 +0200)
source3/lib/util_sock.c

index 31261afd7299e4bd026a7fe549d24cd6a524e273..af64f370baf18e33e60a78a1956e642b13b2444d 100644 (file)
@@ -348,6 +348,9 @@ static const smb_socket_option socket_options[] = {
 #endif
 #ifdef TCP_FASTACK
   {"TCP_FASTACK", IPPROTO_TCP, TCP_FASTACK, 0, OPT_INT},
 #endif
 #ifdef TCP_FASTACK
   {"TCP_FASTACK", IPPROTO_TCP, TCP_FASTACK, 0, OPT_INT},
+#endif
+#ifdef TCP_QUICKACK
+  {"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL},
 #endif
   {NULL,0,0,0,0}};
 
 #endif
   {NULL,0,0,0,0}};