History

sctp: add SCTP_ASCONF_SUPPORTED sockopt

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.

Xin Long committed 7 years ago

Commit df2c71f1 parent a2eeacc2 files · +83 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/sctp.h+1−0
@@ -134,6 +134,7 @@ typedef __s32 sctp_assoc_t; · 133 unmodified lines
134134 #define SCTP_INTERLEAVING_SUPPORTED 125
135135 #define SCTP_SENDMSG_CONNECT 126
136136 #define SCTP_EVENT 127
137+#define SCTP_ASCONF_SUPPORTED 128
137138
138139 /* PR-SCTP policies */
139140 #define SCTP_PR_SCTP_NONE 0x0000