version 1.1.1.3, 2018/04/24 16:54:37
|
version 1.1.1.4, 2018/04/24 17:25:45
|
Line 98
|
Line 98
|
#define TCPTV_KEEPCNT 8 /* max probes before drop */ |
#define TCPTV_KEEPCNT 8 /* max probes before drop */ |
|
|
#define TCPTV_MIN ( 1*PR_SLOWHZ) /* minimum allowable value */ |
#define TCPTV_MIN ( 1*PR_SLOWHZ) /* minimum allowable value */ |
/* #define TCPTV_REXMTMAX ( 64*PR_SLOWHZ) */ /* max allowable REXMT value */ |
|
#define TCPTV_REXMTMAX ( 12*PR_SLOWHZ) /* max allowable REXMT value */ |
#define TCPTV_REXMTMAX ( 12*PR_SLOWHZ) /* max allowable REXMT value */ |
|
|
#define TCP_LINGERTIME 120 /* linger at most 2 minutes */ |
#define TCP_LINGERTIME 120 /* linger at most 2 minutes */ |
Line 106
|
Line 105
|
#define TCP_MAXRXTSHIFT 12 /* maximum retransmits */ |
#define TCP_MAXRXTSHIFT 12 /* maximum retransmits */ |
|
|
|
|
#ifdef TCPTIMERS |
|
char *tcptimers[] = |
|
{ "REXMT", "PERSIST", "KEEP", "2MSL" }; |
|
#endif |
|
|
|
/* |
/* |
* Force a time value to be in a certain range. |
* Force a time value to be in a certain range. |
*/ |
*/ |
Line 126 extern const int tcp_backoff[];
|
Line 120 extern const int tcp_backoff[];
|
|
|
struct tcpcb; |
struct tcpcb; |
|
|
void tcp_fasttimo _P((void)); |
void tcp_fasttimo(Slirp *); |
void tcp_slowtimo _P((void)); |
void tcp_slowtimo(Slirp *); |
void tcp_canceltimers _P((struct tcpcb *)); |
void tcp_canceltimers(struct tcpcb *); |
|
|
#endif |
#endif |