History

sctp: add sockopt to get/set stream scheduler parameters

As defined per RFC Draft ndata Section 4.3.3, named as SCTP_STREAM_SCHEDULER_VALUE.

Marcelo Ricardo Leitner committed 9 years ago

Commit 0ccdf3c1 parent 13aa8772 files · +84 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/sctp.h+7−0
@@ -123,6 +123,7 @@ typedef __s32 sctp_assoc_t; · 122 unmodified lines
123123 #define SCTP_ADD_STREAMS 121
124124 #define SCTP_SOCKOPT_PEELOFF_FLAGS 122
125125 #define SCTP_STREAM_SCHEDULER 123
126+#define SCTP_STREAM_SCHEDULER_VALUE 124
126127
127128 /* PR-SCTP policies */
128129 #define SCTP_PR_SCTP_NONE 0x0000
@@ -815,6 +816,12 @@ struct sctp_assoc_value { · 686 unmodified lines
815816 uint32_t assoc_value;
816817 };
817818
819+struct sctp_stream_value {
820+ sctp_assoc_t assoc_id;
821+ uint16_t stream_id;
822+ uint16_t stream_value;
823+};
824+
818825 /*
819826 * 7.2.2 Peer Address Information
820827 *