diff options
author | tuexen <tuexen@FreeBSD.org> | 2011-01-23 19:36:28 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2011-01-23 19:36:28 +0000 |
commit | 459496919dd0ecbfbbc886bb920d7c21962e583c (patch) | |
tree | 113fb9742c838cfcf8b2c25a0b41af294e03b9d5 /sys/netinet/sctp.h | |
parent | be597b794f8d52a23488bfaa06865cdc9356fd59 (diff) | |
download | FreeBSD-src-459496919dd0ecbfbbc886bb920d7c21962e583c.zip FreeBSD-src-459496919dd0ecbfbbc886bb920d7c21962e583c.tar.gz |
Add stream scheduling support.
This work is based on a patch received from Robin Seggelmann.
MFC after: 3 months.
Diffstat (limited to 'sys/netinet/sctp.h')
-rw-r--r-- | sys/netinet/sctp.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h index 14acd9d..8e9c0c1 100644 --- a/sys/netinet/sctp.h +++ b/sys/netinet/sctp.h @@ -158,6 +158,9 @@ struct sctp_paramhdr { #define SCTP_CMT_USE_DAC 0x00001201 /* 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 /* read only */ #define SCTP_GET_SNDBUF_USE 0x00001101 @@ -253,6 +256,22 @@ struct sctp_paramhdr { /* HTCP Congestion Control */ #define SCTP_CC_HTCP 0x00000002 +/* RS - Supported stream scheduling modules for pluggable + * stream scheduling + */ +/* Default simple round-robin */ +#define SCTP_SS_DEFAULT 0x00000000 +/* Real round-robin */ +#define SCTP_SS_ROUND_ROBIN 0x00000001 +/* Real round-robin per packet */ +#define SCTP_SS_ROUND_ROBIN_PACKET 0x00000002 +/* Priority */ +#define SCTP_SS_PRIORITY 0x00000003 +/* Fair Bandwidth */ +#define SCTP_SS_FAIR_BANDWITH 0x00000004 +/* First-come, first-serve */ +#define SCTP_SS_FIRST_COME 0x00000005 + /* fragment interleave constants * setting must be one of these or |