summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-01-15 23:13:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:09 -0500
commit2163e4b6b453ebf1fefc64e74890300108bbf8f6 (patch)
treee7d871aed82f209bb1466a57288e83bad8f17dca
parenta346059912c05d2b4a27892571d6e89f44907d5c (diff)
downloadsamba-2163e4b6b453ebf1fefc64e74890300108bbf8f6.tar.gz
samba-2163e4b6b453ebf1fefc64e74890300108bbf8f6.tar.xz
samba-2163e4b6b453ebf1fefc64e74890300108bbf8f6.zip
r12953: Support the TCP_FASTACK socket option if it is available. Note that this will
not acutally help, but it is good to be complete.
-rw-r--r--source/lib/util_sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c
index 6562dae952b..91c3305996e 100644
--- a/source/lib/util_sock.c
+++ b/source/lib/util_sock.c
@@ -181,6 +181,9 @@ static const smb_socket_option socket_options[] = {
#ifdef SO_RCVTIMEO
{"SO_RCVTIMEO", SOL_SOCKET, SO_RCVTIMEO, 0, OPT_INT},
#endif
+#ifdef TCP_FASTACK
+ {"TCP_FASTACK", IPPROTO_TCP, TCP_FASTACK, 0, OPT_INT},
+#endif
{NULL,0,0,0,0}};
/****************************************************************************