--- cci/sys/netinet/tcp_timer.h 2019/07/28 12:24:19 1.1 +++ cci/sys/netinet/tcp_timer.h 2019/07/28 12:29:37 1.1.1.2 @@ -43,19 +43,22 @@ * amount of time, then we drop the connection. */ -#define TCP_TTL 15 /* time to live for TCP segs */ +#define TCP_TTL 50 /* time to live for TCP segs */ /* * Time constants. */ #define TCPTV_MSL ( 30*PR_SLOWHZ) /* max seg lifetime */ #define TCPTV_SRTTBASE ( 1*PR_SLOWHZ) /* base roundtrip time */ -#define TCPTV_KEEP ( 45*PR_SLOWHZ) /* keep alive - 45 secs */ +#define TCPTV_KEEP ( 60*PR_SLOWHZ) /* keep alive - Was 45 secs */ #define TCPTV_PERSMIN ( 5*PR_SLOWHZ) /* retransmit persistance */ #define TCPTV_MAXIDLE ( 8*TCPTV_KEEP) /* maximum allowable idle time before drop conn */ -#define TCPTV_MIN ( 1*PR_SLOWHZ) /* minimum allowable value */ +/* Too small for slower interface with multiple sessions +#define TCPTV_MIN ( 1*PR_SLOWHZ) /* minimum allowable value +*/ +#define TCPTV_MIN ( 2*PR_SLOWHZ) /* minimum allowable value */ #define TCPTV_MAX ( 30*PR_SLOWHZ) /* maximum allowable value */ #define TCP_LINGERTIME 120 /* linger at most 2 minutes */