diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2002-03-01 22:29:30 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2002-03-01 22:29:30 +0000 |
commit | 88eb9e205f021f67565cdcb0ed25974c3892e780 (patch) | |
tree | 0a9143f884ca32a8fcb4448b4137c8c3a36dc306 /sys/netinet/tcp_timer.h | |
parent | 7654fe675bb68865e2eec2bec559901d94dc31ea (diff) |
remove tcp_fasttimo and convert delayed acks to the timeout(9) API instead.
adapated from netbsd. okay angelos@
Diffstat (limited to 'sys/netinet/tcp_timer.h')
-rw-r--r-- | sys/netinet/tcp_timer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h index 45064e1d9fa..03523dd8f31 100644 --- a/sys/netinet/tcp_timer.h +++ b/sys/netinet/tcp_timer.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_timer.h,v 1.6 2002/01/14 19:26:10 provos Exp $ */ +/* $OpenBSD: tcp_timer.h,v 1.7 2002/03/01 22:29:29 provos Exp $ */ /* $NetBSD: tcp_timer.h,v 1.6 1995/03/26 20:32:37 jtc Exp $ */ /* @@ -109,6 +109,8 @@ #define TCP_MAXRXTSHIFT 12 /* maximum retransmits */ +#define TCP_DELACK_TICKS (hz / PR_FASTHZ) /* time to delay ACK */ + #ifdef TCPTIMERS char *tcptimers[] = { "REXMT", "PERSIST", "KEEP", "2MSL" }; @@ -147,5 +149,7 @@ extern int tcp_keepintvl; /* time between keepalive probes */ extern int tcp_maxidle; /* time to drop after starting probes */ extern int tcp_ttl; /* time to live for TCP segs */ extern int tcp_backoff[]; + +void tcp_timer_init(void); #endif /* _KERNEL */ #endif /* _NETINET_TCP_TIMER_H_ */ |