SCTP_ASCONF_SUPPORTED sockopt is used to set enpoint's asconf flag. With this feature, each endpoint will have its own flag for its future asoc's asconf_capable, instead of netns asconf flag. Note that when both ep's asconf_enable and auth_enable are enabled, SCTP_CID_ASCONF and SCTP_CID_ASCONF_ACK should be added into auth_chunk_list.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -134,6 +134,7 @@ typedef __s32 sctp_assoc_t; · 133 unmodified lines | |||
| 134 | #define SCTP_INTERLEAVING_SUPPORTED 125 | 134 | #define SCTP_INTERLEAVING_SUPPORTED 125 |
| 135 | #define SCTP_SENDMSG_CONNECT 126 | 135 | #define SCTP_SENDMSG_CONNECT 126 |
| 136 | #define SCTP_EVENT 127 | 136 | #define SCTP_EVENT 127 |
| 137 | #define SCTP_ASCONF_SUPPORTED 128 | ||
| 137 | 138 | ||
| 138 | /* PR-SCTP policies */ | 139 | /* PR-SCTP policies */ |
| 139 | #define SCTP_PR_SCTP_NONE 0x0000 | 140 | #define SCTP_PR_SCTP_NONE 0x0000 |