git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b86e3d
)
r6553: Added Linux per-socket TCP settings patch from "Ed Boraas" <ed.boraas@concordi...
author
Jeremy Allison
<jra@samba.org>
Sun, 1 May 2005 10:13:08 +0000
(10:13 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:56:45 +0000
(10:56 -0500)
Jeremy.
source/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source/lib/util_sock.c
b/source/lib/util_sock.c
index 58bc5ed6fe469c3ac9d98adef221046d7adc6146..4222c3c5ef523c2663118c02cbc2137d569f4d79 100644
(file)
--- a/
source/lib/util_sock.c
+++ b/
source/lib/util_sock.c
@@
-98,6
+98,15
@@
static const smb_socket_option socket_options[] = {
#ifdef TCP_NODELAY
{"TCP_NODELAY", IPPROTO_TCP, TCP_NODELAY, 0, OPT_BOOL},
#endif
+#ifdef TCP_KEEPCNT
+ {"TCP_KEEPCNT", IPPROTO_TCP, TCP_KEEPCNT, 0, OPT_INT},
+#endif
+#ifdef TCP_KEEPIDLE
+ {"TCP_KEEPIDLE", IPPROTO_TCP, TCP_KEEPIDLE, 0, OPT_INT},
+#endif
+#ifdef TCP_KEEPINTVL
+ {"TCP_KEEPINTVL", IPPROTO_TCP, TCP_KEEPINTVL, 0, OPT_INT},
+#endif
#ifdef IPTOS_LOWDELAY
{"IPTOS_LOWDELAY", IPPROTO_IP, IP_TOS, IPTOS_LOWDELAY, OPT_ON},
#endif