summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorIra Cooper <samba@ira.wakeful.net>2010-10-06 12:24:27 -0400
committerJeremy Allison <jra@samba.org>2010-10-07 00:26:39 +0000
commitfdad0328e4ee4de26e94f9b19a74ded83c5b00ce (patch)
treef01ec4cf8a252fb2dbc88b524e166933bb789026 /source3
parent1c9b85667070ee3292862d007f03b33b10713edd (diff)
downloadsamba-fdad0328e4ee4de26e94f9b19a74ded83c5b00ce.tar.gz
samba-fdad0328e4ee4de26e94f9b19a74ded83c5b00ce.tar.bz2
samba-fdad0328e4ee4de26e94f9b19a74ded83c5b00ce.zip
s3: Adding TCP_KEEPALIVE_THRESHOLD and TCP_KEEPALIVE_ABORT_THRESHOLD to the list of accepted socket settings.
These are both exclusive to Solaris/OpenSolaris. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 7 00:26:39 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 188e11702e..6782249bf6 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -289,6 +289,12 @@ static const smb_socket_option socket_options[] = {
#ifdef TCP_QUICKACK
{"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL},
#endif
+#ifdef TCP_KEEPALIVE_THRESHOLD
+ {"TCP_KEEPALIVE_THRESHOLD", IPPROTO_TCP, TCP_KEEPALIVE_THRESHOLD, 0, OPT_INT},
+#endif
+#ifdef TCP_KEEPALIVE_ABORT_THRESHOLD
+ {"TCP_KEEPALIVE_ABORT_THRESHOLD", IPPROTO_TCP, TCP_KEEPALIVE_ABORT_THRESHOLD, 0, OPT_INT},
+#endif
{NULL,0,0,0,0}};
/****************************************************************************