summaryrefslogtreecommitdiff
path: root/lib/util/util_net.c
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2011-11-15 19:12:02 +0100
committerBjoern Jacke <bj@sernet.de>2011-11-15 21:00:07 +0100
commit383a918322c1edd1977fdbce19e52e8c8e6ffac1 (patch)
tree7cf935b8040577407a2c9c1d76fa69976f9fb750 /lib/util/util_net.c
parent31cd1fbd2b1c2d1635662688e979bb5baa992855 (diff)
downloadsamba-383a918322c1edd1977fdbce19e52e8c8e6ffac1.tar.gz
samba-383a918322c1edd1977fdbce19e52e8c8e6ffac1.tar.bz2
samba-383a918322c1edd1977fdbce19e52e8c8e6ffac1.zip
s3: allow to set TCP_NODELAYACK socket option on AIX
this is the AIX way to disable delayed ACKs, the same like TCP_QUICKACK on Linux Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Nov 15 21:00:07 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/util/util_net.c')
-rw-r--r--lib/util/util_net.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/util_net.c b/lib/util/util_net.c
index 139c9d42bc..1f6ecdd87b 100644
--- a/lib/util/util_net.c
+++ b/lib/util/util_net.c
@@ -803,6 +803,9 @@ static const smb_socket_option socket_options[] = {
#ifdef TCP_QUICKACK
{"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL},
#endif
+#ifdef TCP_NODELAYACK
+ {"TCP_NODELAYACK", IPPROTO_TCP, TCP_NODELAYACK, 0, OPT_BOOL},
+#endif
#ifdef TCP_KEEPALIVE_THRESHOLD
{"TCP_KEEPALIVE_THRESHOLD", IPPROTO_TCP, TCP_KEEPALIVE_THRESHOLD, 0, OPT_INT},
#endif