summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-09-07 13:06:00 +0000
committerru <ru@FreeBSD.org>2006-09-07 13:06:00 +0000
commit0d416557b83f1cab7866408d2a3356d74f9e2f3c (patch)
treee02398a49c460cafd22200e8f849a887f6e31762 /sys/netinet/tcp_timer.h
parentc9b5882a6eb5b95543c8cc67df0fa602a275d2e5 (diff)
downloadFreeBSD-src-0d416557b83f1cab7866408d2a3356d74f9e2f3c.zip
FreeBSD-src-0d416557b83f1cab7866408d2a3356d74f9e2f3c.tar.gz
Back when we had T/TCP support, we used to apply different
timeouts for TCP and T/TCP connections in the TIME_WAIT state, and we had two separate timed wait queues for them. Now that is has gone, the timeout is always 2*MSL again, and there is no reason to keep two queues (the first was unused anyway!). Also, reimplement the remaining queue using a TAILQ (it was technically impossible before, with two queues).
Diffstat (limited to 'sys/netinet/tcp_timer.h')
-rw-r--r--sys/netinet/tcp_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
index 815a757..4b32cbb 100644
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -156,7 +156,7 @@ void tcp_timer_init(void);
void tcp_timer_2msl(void *xtp);
struct tcptw *
tcp_timer_2msl_tw(int _reuse); /* XXX temporary */
-void tcp_timer_2msl_reset(struct tcptw *_tw, int _timeo, int rearm);
+void tcp_timer_2msl_reset(struct tcptw *_tw, int rearm);
void tcp_timer_2msl_stop(struct tcptw *_tw);
void tcp_timer_keep(void *xtp);
void tcp_timer_persist(void *xtp);
OpenPOWER on IntegriCloud