diff options
author | andre <andre@FreeBSD.org> | 2007-05-16 17:14:25 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2007-05-16 17:14:25 +0000 |
commit | db8bfe6922eb4d1e975e9ca2491c3a1c41b6bf63 (patch) | |
tree | 03cd6fefea329aac65e210ceed95cfe3d6c8667a /sys/netinet/tcp_subr.c | |
parent | e9ba2ca930b8546703a252333142ac306f699c8e (diff) | |
download | FreeBSD-src-db8bfe6922eb4d1e975e9ca2491c3a1c41b6bf63.zip FreeBSD-src-db8bfe6922eb4d1e975e9ca2491c3a1c41b6bf63.tar.gz |
Move TIME_WAIT related functions and timer handling from files
other than repo copied tcp_subr.c into tcp_timewait.c#1.284:
tcp_input.c#1.350 tcp_timewait() -> tcp_twcheck()
tcp_timer.c#1.92 tcp_timer_2msl_reset() -> tcp_tw_2msl_reset()
tcp_timer.c#1.92 tcp_timer_2msl_stop() -> tcp_tw_2msl_stop()
tcp_timer.c#1.92 tcp_timer_2msl_tw() -> tcp_tw_2msl_scan()
This is a mechanical move with appropriate renames and making
them static if used only locally.
The tcp_tw_2msl_scan() cleanup function is still run from the
tcp_slowtimo() in tcp_timer.c.
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 8d2e8e4..ffa6cf1 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -298,7 +298,6 @@ tcp_init(void) tcpcb_zone = uma_zcreate("tcpcb", sizeof(struct tcpcb_mem), NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE); uma_zone_set_max(tcpcb_zone, maxsockets); - tcp_timer_init(); tcp_tw_init(); syncache_init(); tcp_hc_init(); |