Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_timer.h
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | |||||
* networks faster then a modem that has minor (e.g. 1%) packet loss. | * networks faster then a modem that has minor (e.g. 1%) packet loss. | ||||
*/ | */ | ||||
#define TCPTV_MIN ( hz/33 ) /* minimum allowable value */ | #define TCPTV_MIN ( hz/33 ) /* minimum allowable value */ | ||||
#define TCPTV_CPU_VAR ( hz/5 ) /* cpu variance allowed (200ms) */ | #define TCPTV_CPU_VAR ( hz/5 ) /* cpu variance allowed (200ms) */ | ||||
#define TCPTV_REXMTMAX ( 64*hz) /* max allowable REXMT value */ | #define TCPTV_REXMTMAX ( 64*hz) /* max allowable REXMT value */ | ||||
#define TCPTV_TWTRUNC 8 /* RTO factor to truncate TW */ | #define TCPTV_TWTRUNC 8 /* RTO factor to truncate TW */ | ||||
#define TCP_LINGERTIME 120 /* linger at most 2 minutes */ | |||||
#define TCP_MAXRXTSHIFT 12 /* maximum retransmits */ | #define TCP_MAXRXTSHIFT 12 /* maximum retransmits */ | ||||
#define TCPTV_DELACK ( hz/25 ) /* 40ms timeout */ | #define TCPTV_DELACK ( hz/25 ) /* 40ms timeout */ | ||||
/* | /* | ||||
* If we exceed this number of retransmits for a single segment, we'll consider | * If we exceed this number of retransmits for a single segment, we'll consider | ||||
* the current srtt measurement no longer valid and will recalculate from | * the current srtt measurement no longer valid and will recalculate from | ||||
* scratch starting with the next ACK. | * scratch starting with the next ACK. | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |