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
123#define SCTP_ADD_STREAMS 121123#define SCTP_ADD_STREAMS 121
124#define SCTP_SOCKOPT_PEELOFF_FLAGS 122124#define SCTP_SOCKOPT_PEELOFF_FLAGS 122
125#define SCTP_STREAM_SCHEDULER 123125#define SCTP_STREAM_SCHEDULER 123
126#define SCTP_STREAM_SCHEDULER_VALUE 124
126 127
127/* PR-SCTP policies */128/* PR-SCTP policies */
128#define SCTP_PR_SCTP_NONE 0x0000129#define SCTP_PR_SCTP_NONE 0x0000
@@ -815,6 +816,12 @@ struct sctp_assoc_value { · 686 unmodified lines
815 uint32_t assoc_value;816 uint32_t assoc_value;
816};817};
817 818
819struct sctp_stream_value {
820 sctp_assoc_t assoc_id;
821 uint16_t stream_id;
822 uint16_t stream_value;
823};
824
818/*825/*
819 * 7.2.2 Peer Address Information826 * 7.2.2 Peer Address Information
820 *827 *