As defined in rfc6525#section-6.1.3, SCTP_STREAM_CHANGE_DENIED and SCTP_STREAM_CHANGE_FAILED should be used instead of SCTP_ASSOC_CHANGE_DENIED and SCTP_ASSOC_CHANGE_FAILED. To keep the compatibility, fix it by adding two macros.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -568,6 +568,8 @@ struct sctp_assoc_reset_event { · 567 unmodified lines | |||
| 568 | 568 | ||
| 569 | #define SCTP_ASSOC_CHANGE_DENIED 0x0004 | 569 | #define SCTP_ASSOC_CHANGE_DENIED 0x0004 |
| 570 | #define SCTP_ASSOC_CHANGE_FAILED 0x0008 | 570 | #define SCTP_ASSOC_CHANGE_FAILED 0x0008 |
| 571 | #define SCTP_STREAM_CHANGE_DENIED SCTP_ASSOC_CHANGE_DENIED | ||
| 572 | #define SCTP_STREAM_CHANGE_FAILED SCTP_ASSOC_CHANGE_FAILED | ||
| 571 | struct sctp_stream_change_event { | 573 | struct sctp_stream_change_event { |
| 572 | __u16 strchange_type; | 574 | __u16 strchange_type; |
| 573 | __u16 strchange_flags; | 575 | __u16 strchange_flags; |