]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - include/uapi/linux/sctp.h
Merge branch 'master' into net-next
[mirror_iproute2.git] / include / uapi / linux / sctp.h
index 39922b7a6e788727257d79796a3f68bc27390a9f..a3dc7e3d12c7095dc1357bd9096ce75412b01dec 100644 (file)
@@ -122,6 +122,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
 
 /* PR-SCTP policies */
 #define SCTP_PR_SCTP_NONE      0x0000
@@ -812,6 +814,12 @@ struct sctp_assoc_value {
     uint32_t                assoc_value;
 };
 
+struct sctp_stream_value {
+       sctp_assoc_t assoc_id;
+       uint16_t stream_id;
+       uint16_t stream_value;
+};
+
 /*
  * 7.2.2 Peer Address Information
  *
@@ -1082,4 +1090,12 @@ struct sctp_add_streams {
        uint16_t sas_outstrms;
 };
 
+/* SCTP Stream schedulers */
+enum sctp_sched_type {
+       SCTP_SS_FCFS,
+       SCTP_SS_PRIO,
+       SCTP_SS_RR,
+       SCTP_SS_MAX = SCTP_SS_RR
+};
+
 #endif /* _SCTP_H */