Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_timer.h
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | |||||
#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_LINGERTIME 120 /* linger at most 2 minutes */ | ||||
#define TCP_MAXRXTSHIFT 12 /* maximum retransmits */ | #define TCP_MAXRXTSHIFT 12 /* maximum retransmits */ | ||||
#define TCPTV_DELACK ( hz/10 ) /* 100ms timeout */ | #define TCPTV_DELACK ( hz/10 ) /* 100ms timeout */ | ||||
/* Begin Isilon */ | |||||
gnn: Ooops? | |||||
/* | |||||
* 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 | |||||
* scratch starting with the next ACK. | |||||
*/ | |||||
#define TCP_RTT_INVALIDATE (TCP_MAXRXTSHIFT / 4) | |||||
/* End Isilon */ | |||||
#ifdef TCPTIMERS | #ifdef TCPTIMERS | ||||
static const char *tcptimers[] = | static const char *tcptimers[] = | ||||
{ "REXMT", "PERSIST", "KEEP", "2MSL", "DELACK" }; | { "REXMT", "PERSIST", "KEEP", "2MSL", "DELACK" }; | ||||
#endif | #endif | ||||
/* | /* | ||||
* Force a time value to be in a certain range. | * Force a time value to be in a certain range. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |
Ooops?