diff options
author | rrs <rrs@FreeBSD.org> | 2011-02-26 15:23:46 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2011-02-26 15:23:46 +0000 |
commit | 5b16134320304358fdf7f5b37dc32e4703b65ce7 (patch) | |
tree | 1f7b1302d8f5bd9db6d87b45a7c943be9458aeeb /sys/netinet/sctp.h | |
parent | 3fa7ecd6134abe348569c648a52df0da771219ae (diff) | |
download | FreeBSD-src-5b16134320304358fdf7f5b37dc32e4703b65ce7.zip FreeBSD-src-5b16134320304358fdf7f5b37dc32e4703b65ce7.tar.gz |
Improvements to CC modules:
1) Add four new points that allow you to get more information
to cc algo's
2) Fix the case where user changes module on a existing TCB, in
such a case, the initialization module needs to be called on all nets.
3) Move htcp_cc structure to a union that other modules can use.
4) Add 5th point for get/set socket options for cc_module specific options
MFC after: 2 months
Diffstat (limited to 'sys/netinet/sctp.h')
-rw-r--r-- | sys/netinet/sctp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h index 0560b11..fcfb173 100644 --- a/sys/netinet/sctp.h +++ b/sys/netinet/sctp.h @@ -161,9 +161,10 @@ struct sctp_paramhdr { /* JRS - Pluggable Congestion Control Socket option */ #define SCTP_PLUGGABLE_CC 0x00001202 /* RS - Pluggable Stream Scheduling Socket option */ -#define SCTP_PLUGGABLE_SS 0x00001203 -#define SCTP_SS_VALUE 0x00001204 - +#define SCTP_PLUGGABLE_SS 0x00001203 +#define SCTP_SS_VALUE 0x00001204 +#define SCTP_CC_OPTION 0x00001205 /* Options for CC + * modules */ /* read only */ #define SCTP_GET_SNDBUF_USE 0x00001101 #define SCTP_GET_STAT_LOG 0x00001103 |