summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp.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.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.h')
-rw-r--r--sys/netinet/sctp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h
index fcfb173..403bea4 100644
--- a/sys/netinet/sctp.h
+++ b/sys/netinet/sctp.h
@@ -258,6 +258,11 @@ struct sctp_paramhdr {
#define SCTP_CC_HSTCP 0x00000001
/* HTCP Congestion Control */
#define SCTP_CC_HTCP 0x00000002
+/* RTCC Congestion Control - RFC2581 plus */
+#define SCTP_CC_RTCC 0x00000003
+
+#define SCTP_CC_OPT_RTCC_SETMODE 0x00002000
+#define SCTP_CC_OPT_USE_DCCC_ECN 0x00002001
/* RS - Supported stream scheduling modules for pluggable
* stream scheduling
OpenPOWER on IntegriCloud