summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2010-09-16 21:06:45 +0000
committerandre <andre@FreeBSD.org>2010-09-16 21:06:45 +0000
commitc48c00810efd13d37cd4e01c89bcd21a1b1e04d0 (patch)
tree5e03ba729e96310f11b48d1ee65264b751a836b1 /sys/netinet/tcp_timer.h
parentd7bdcc10e4df9e7f755be4e1853272956eb39493 (diff)
downloadFreeBSD-src-c48c00810efd13d37cd4e01c89bcd21a1b1e04d0.zip
FreeBSD-src-c48c00810efd13d37cd4e01c89bcd21a1b1e04d0.tar.gz
Remove the TCP inflight bandwidth limiter as announced in r211315
to give way for the pluggable congestion control framework. It is the task of the congestion control algorithm to set the congestion window and amount of inflight data without external interference. In 'struct tcpcb' the variables previously used by the inflight limiter are renamed to spares to keep the ABI intact and to have some more space for future extensions. In 'struct tcp_info' the variable 'tcpi_snd_bwnd' is not removed to preserve the ABI. It is always set to 0. In siftr.c in 'struct pkt_node' the variable 'snd_bwnd' is not removed to preserve the ABI. It is always set to 0. These unused variable in the various structures may be reused in the future or garbage collected before the next release or at some other point when an ABI change happens anyway for other reasons. No MFC is planned. The inflight bandwidth limiter stays disabled by default in the other branches but remains available.
Diffstat (limited to 'sys/netinet/tcp_timer.h')
-rw-r--r--sys/netinet/tcp_timer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/tcp_timer.h b/sys/netinet/tcp_timer.h
index 1ab0b7b..4bfcdf6 100644
--- a/sys/netinet/tcp_timer.h
+++ b/sys/netinet/tcp_timer.h
@@ -86,9 +86,6 @@
#define TCPTV_KEEPINTVL ( 75*hz) /* default probe interval */
#define TCPTV_KEEPCNT 8 /* max probes before drop */
-#define TCPTV_INFLIGHT_RTTTHRESH (10*hz/1000) /* below which inflight
- disengages, in msec */
-
#define TCPTV_FINWAIT2_TIMEOUT (60*hz) /* FIN_WAIT_2 timeout if no receiver */
/*
OpenPOWER on IntegriCloud