summaryrefslogtreecommitdiff
path: root/include/uapi/linux/sctp.h
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2017-10-04 01:20:14 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-04 02:27:29 +0300
commit13aa8770fe42d246c6f3a8eb814b85bccb428011 (patch)
treed915f5bb85f9cc6329197fd4e6d9a1ffe81141ff /include/uapi/linux/sctp.h
parent5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 (diff)
downloadlinux-13aa8770fe42d246c6f3a8eb814b85bccb428011.tar.xz
sctp: add sockopt to get/set stream scheduler
As defined per RFC Draft ndata Section 4.3.2, named as SCTP_STREAM_SCHEDULER. See-also: https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-13 Tested-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/sctp.h')
-rw-r--r--include/uapi/linux/sctp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h
index 4487e7625ddb..0050f10087d2 100644
--- a/include/uapi/linux/sctp.h
+++ b/include/uapi/linux/sctp.h
@@ -122,6 +122,7 @@ typedef __s32 sctp_assoc_t;
#define SCTP_RESET_ASSOC 120
#define SCTP_ADD_STREAMS 121
#define SCTP_SOCKOPT_PEELOFF_FLAGS 122
+#define SCTP_STREAM_SCHEDULER 123
/* PR-SCTP policies */
#define SCTP_PR_SCTP_NONE 0x0000