Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_timer.h
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | |||||
#define TCPTV_PERSMIN ( 5*hz) /* minimum persist interval */ | #define TCPTV_PERSMIN ( 5*hz) /* minimum persist interval */ | ||||
#define TCPTV_PERSMAX ( 60*hz) /* maximum persist interval */ | #define TCPTV_PERSMAX ( 60*hz) /* maximum persist interval */ | ||||
#define TCPTV_KEEP_INIT ( 75*hz) /* initial connect keepalive */ | #define TCPTV_KEEP_INIT ( 75*hz) /* initial connect keepalive */ | ||||
#define TCPTV_KEEP_IDLE (120*60*hz) /* dflt time before probing */ | #define TCPTV_KEEP_IDLE (120*60*hz) /* dflt time before probing */ | ||||
#define TCPTV_KEEPINTVL ( 75*hz) /* default probe interval */ | #define TCPTV_KEEPINTVL ( 75*hz) /* default probe interval */ | ||||
#define TCPTV_KEEPCNT 8 /* max probes before drop */ | #define TCPTV_KEEPCNT 8 /* max probes before drop */ | ||||
#define TCPTV_KEEPSLOP 2 /* idle time max % variance */ | |||||
#define TCPTV_FINWAIT2_TIMEOUT (60*hz) /* FIN_WAIT_2 timeout if no receiver */ | #define TCPTV_FINWAIT2_TIMEOUT (60*hz) /* FIN_WAIT_2 timeout if no receiver */ | ||||
/* | /* | ||||
* Minimum retransmit timer is 3 ticks, for algorithmic stability. | * Minimum retransmit timer is 3 ticks, for algorithmic stability. | ||||
* TCPT_RANGESET() will add another TCPTV_CPU_VAR to deal with | * TCPT_RANGESET() will add another TCPTV_CPU_VAR to deal with | ||||
* the expected worst-case processing variances by the kernels | * the expected worst-case processing variances by the kernels | ||||
* representing the end points. Such variances do not always show | * representing the end points. Such variances do not always show | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |