summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.h
diff options
context:
space:
mode:
authorMohan Srinivasan <mohans@FreeBSD.org>2007-02-26 22:25:21 +0000
committerMohan Srinivasan <mohans@FreeBSD.org>2007-02-26 22:25:21 +0000
commit7c72af877023dbbd7aa8d4ed38d52386d6711680 (patch)
tree21cfa3a2368a7f712458dfdd8d3485b03c0c6fa7 /sys/netinet/tcp_timer.h
parent560a54e10cbf5d595fe5fcc5b79efee7ffee6ba9 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_timer.h')
-rw-r--r--sys/netinet/tcp_timer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
index 1e1c239c7ff1..8d8742de2fdf 100644
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -89,6 +89,8 @@
#define TCPTV_INFLIGHT_RTTTHRESH (10*hz/1000) /* below which inflight
disengages, in msec */
+#define TCPTV_FINWAIT2_TIMEOUT (60*hz) /* FIN_WAIT_2 timeout if no receiver */
+
/*
* Minimum retransmit timer is 3 ticks, for algorithmic stability.
* TCPT_RANGESET() will add another TCPTV_CPU_VAR to deal with
@@ -152,6 +154,9 @@ extern int tcp_backoff[];
struct tcptw;
+extern int tcp_finwait2_timeout;
+extern int tcp_fast_finwait2_recycle;
+
void tcp_timer_init(void);
void tcp_timer_2msl(void *xtp);
struct tcptw *