From a8bc02dcb257f24a8246bb1c31abe58bf12ebd04 Mon Sep 17 00:00:00 2001 From: jlemon Date: Wed, 19 Feb 2003 22:32:43 +0000 Subject: Add a TCP TIMEWAIT state which uses less space than a fullblown TCP control block. Allow the socket and tcpcb structures to be freed earlier than inpcb. Update code to understand an inp w/o a socket. Reviewed by: hsu, silby, jayanth Sponsored by: DARPA, NAI Labs --- sys/netinet/tcp_timer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/netinet/tcp_timer.h') diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h index cb835fb..40080b7 100644 --- a/sys/netinet/tcp_timer.h +++ b/sys/netinet/tcp_timer.h @@ -152,6 +152,7 @@ extern int tcp_ttl; /* time to live for TCP segs */ extern int tcp_backoff[]; void tcp_timer_2msl(void *xtp); +void tcp_timer_2msl_tw(void *xtw); /* XXX temporary */ void tcp_timer_keep(void *xtp); void tcp_timer_persist(void *xtp); void tcp_timer_rexmt(void *xtp); -- cgit v1.1