summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2011-03-01 00:37:46 +0000
committerrrs <rrs@FreeBSD.org>2011-03-01 00:37:46 +0000
commit39c61f385197da8fb91aa52fa4b27cfeca2d242a (patch)
treeb5bffb8918b5bc4d432e8529fd7640aed3b2c0de /sys/netinet/sctp_sysctl.h
parent1120f045d21b22400cfdfa794db3c37109fd5969 (diff)
downloadFreeBSD-src-39c61f385197da8fb91aa52fa4b27cfeca2d242a.zip
FreeBSD-src-39c61f385197da8fb91aa52fa4b27cfeca2d242a.tar.gz
Adds a new Congestion Control that helps reduce
the RTT that a flow will build up in buffers in transit. It is a slight modification to RFC2581 but is more friendly i.e. less aggressive. MFC after: 3 months
Diffstat (limited to 'sys/netinet/sctp_sysctl.h')
-rw-r--r--sys/netinet/sctp_sysctl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/sctp_sysctl.h b/sys/netinet/sctp_sysctl.h
index 40e6d6e..aba6918 100644
--- a/sys/netinet/sctp_sysctl.h
+++ b/sys/netinet/sctp_sysctl.h
@@ -104,11 +104,9 @@ struct sctp_sysctl {
uint32_t sctp_mobility_base;
uint32_t sctp_mobility_fasthandoff;
uint32_t sctp_inits_include_nat_friendly;
-#ifdef SCTP_HAS_RTTCC
uint32_t sctp_rttvar_bw;
uint32_t sctp_rttvar_rtt;
uint32_t sctp_rttvar_eqret;
-#endif
#if defined(SCTP_LOCAL_TRACE_BUF)
struct sctp_log sctp_log;
#endif
@@ -519,7 +517,6 @@ struct sctp_sysctl {
#define SCTPCTL_INITIAL_CWND_MIN 0
#define SCTPCTL_INITIAL_CWND_MAX 0xffffffff
#define SCTPCTL_INITIAL_CWND_DEFAULT 3
-#ifdef SCTP_HAS_RTTCC
/* rttvar smooth avg for bw calc */
#define SCTPCTL_RTTVAR_BW_DESC "Shift amount for bw smothing on rtt calc"
@@ -537,7 +534,6 @@ struct sctp_sysctl {
#define SCTPCTL_RTTVAR_EQRET_MIN 0
#define SCTPCTL_RTTVAR_EQRET_MAX 1
#define SCTPCTL_RTTVAR_EQRET_DEFAULT 0
-#endif
#if defined(SCTP_DEBUG)
/* debug: Configure debug output */
OpenPOWER on IntegriCloud