summaryrefslogtreecommitdiff
path: root/libc/kernel/uapi/linux/sctp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/uapi/linux/sctp.h')
-rw-r--r--libc/kernel/uapi/linux/sctp.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/kernel/uapi/linux/sctp.h b/libc/kernel/uapi/linux/sctp.h
index 9a55459b2..cc714ff14 100644
--- a/libc/kernel/uapi/linux/sctp.h
+++ b/libc/kernel/uapi/linux/sctp.h
@@ -77,6 +77,8 @@ 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
+#define SCTP_STREAM_SCHEDULER_VALUE 124
#define SCTP_PR_SCTP_NONE 0x0000
#define SCTP_PR_SCTP_TTL 0x0010
#define SCTP_PR_SCTP_RTX 0x0020
@@ -443,6 +445,11 @@ struct sctp_assoc_value {
sctp_assoc_t assoc_id;
uint32_t assoc_value;
};
+struct sctp_stream_value {
+ sctp_assoc_t assoc_id;
+ uint16_t stream_id;
+ uint16_t stream_value;
+};
struct sctp_paddrinfo {
sctp_assoc_t spinfo_assoc_id;
struct sockaddr_storage spinfo_address;
@@ -616,4 +623,10 @@ struct sctp_add_streams {
uint16_t sas_instrms;
uint16_t sas_outstrms;
};
+enum sctp_sched_type {
+ SCTP_SS_FCFS,
+ SCTP_SS_PRIO,
+ SCTP_SS_RR,
+ SCTP_SS_MAX = SCTP_SS_RR
+};
#endif