summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-07-14 22:23:39 +0200
committerBjörn Jacke <bj@sernet.de>2009-07-14 22:29:59 +0200
commit036bad61317bc71f59db0e766881dd880253bb52 (patch)
tree98df156426c590774e54591f62a09c2d94d95e90
parentb134d4bc4ad665b82438eb8e1b5cbd1098a36aed (diff)
downloadsamba-036bad61317bc71f59db0e766881dd880253bb52.tar.gz
samba-036bad61317bc71f59db0e766881dd880253bb52.tar.bz2
samba-036bad61317bc71f59db0e766881dd880253bb52.zip
s3: allow setting the TCP_QUICKACK socket option
-rw-r--r--source3/lib/util_sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 31261afd72..af64f370ba 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -349,6 +349,9 @@ static const smb_socket_option socket_options[] = {
#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}};
/****************************************************************************