summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-05-16 17:14:25 +0000
committerandre <andre@FreeBSD.org>2007-05-16 17:14:25 +0000
commitdb8bfe6922eb4d1e975e9ca2491c3a1c41b6bf63 (patch)
tree03cd6fefea329aac65e210ceed95cfe3d6c8667a /sys/netinet/tcp_timer.h
parente9ba2ca930b8546703a252333142ac306f699c8e (diff)
downloadFreeBSD-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_timer.h')
-rw-r--r--sys/netinet/tcp_timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
index e723ea3..425d0b0 100644
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -175,10 +175,10 @@ extern int tcp_finwait2_timeout;
extern int tcp_fast_finwait2_recycle;
void tcp_timer_init(void);
-struct tcptw *
- tcp_timer_2msl_tw(int _reuse); /* XXX temporary */
void tcp_timer_2msl_reset(struct tcptw *_tw, int rearm);
void tcp_timer_2msl_stop(struct tcptw *_tw);
+struct tcptw *
+ tcp_tw_2msl_scan(int _reuse); /* XXX temporary */
#endif /* _KERNEL */
OpenPOWER on IntegriCloud