diff options
author | jlemon <jlemon@FreeBSD.org> | 2000-05-06 03:31:09 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2000-05-06 03:31:09 +0000 |
commit | 8a3c72bb35758d483f05567e3ff8926bee1a8813 (patch) | |
tree | 22b719c35e23206090023b078760d76bcd4627e7 /sys/netinet/tcp_var.h | |
parent | 796be5b52651cb1727e79565d25b60e69d1f738a (diff) | |
download | FreeBSD-src-8a3c72bb35758d483f05567e3ff8926bee1a8813.zip FreeBSD-src-8a3c72bb35758d483f05567e3ff8926bee1a8813.tar.gz |
Implement TCP NewReno, as documented in RFC 2582. This allows
better recovery for multiple packet losses in a single window.
The algorithm can be toggled via the sysctl net.inet.tcp.newreno,
which defaults to "on".
Submitted by: Jayanth Vijayaraghavan <jayanth@yahoo-inc.com>
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 5d64cf2..5798c84 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -119,6 +119,8 @@ struct tcpcb { * for slow start exponential to * linear switch */ + tcp_seq snd_recover; /* for use in fast recovery */ + u_int t_maxopd; /* mss plus options */ u_long t_rcvtime; /* inactivity time */ @@ -365,6 +367,7 @@ extern struct inpcbinfo tcbinfo; extern struct tcpstat tcpstat; /* tcp statistics */ extern int tcp_mssdflt; /* XXX */ extern int tcp_delack_enabled; +extern int tcp_do_newreno; extern int ss_fltsz; extern int ss_fltsz_local; |