svn commit: samba r6554 - in trunk/source/lib: .

jra at samba.org jra at samba.org
Sun May 1 10:13:18 GMT 2005


Author: jra
Date: 2005-05-01 10:13:16 +0000 (Sun, 01 May 2005)
New Revision: 6554

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6554

Log:
Added Linux per-socket TCP settings patch from "Ed Boraas" <ed.boraas at concordia.ab.ca>.
Jeremy.

Modified:
   trunk/source/lib/util_sock.c


Changeset:
Modified: trunk/source/lib/util_sock.c
===================================================================
--- trunk/source/lib/util_sock.c	2005-05-01 10:13:08 UTC (rev 6553)
+++ trunk/source/lib/util_sock.c	2005-05-01 10:13:16 UTC (rev 6554)
@@ -98,6 +98,15 @@
 #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



More information about the samba-cvs mailing list