summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 80fd03c..0a84259 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -137,21 +137,6 @@ tcp_slowtimo()
INP_INFO_WUNLOCK(&tcbinfo);
}
-/*
- * Cancel all timers for TCP tp.
- *
- * XXXRW: This appears to be unused.
- */
-void
-tcp_canceltimers(tp)
- struct tcpcb *tp;
-{
- callout_stop(tp->tt_2msl);
- callout_stop(tp->tt_persist);
- callout_stop(tp->tt_keep);
- callout_stop(tp->tt_rexmt);
-}
-
int tcp_syn_backoff[TCP_MAXRXTSHIFT + 1] =
{ 1, 1, 1, 1, 1, 2, 4, 8, 16, 32, 64, 64, 64 };
OpenPOWER on IntegriCloud