diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-08-19 22:02:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-19 18:27:28 -0700 |
commit | df2c71ffdfae58961981d7cbcccea93688fc4e96 (patch) | |
tree | da186fb9cfae2acbee3c3d63b049256f82076249 /include/uapi | |
parent | a2eeacc830438d738d21230325662fe5c22c3bf0 (diff) | |
download | linux-stable-df2c71ffdfae58961981d7cbcccea93688fc4e96.tar.gz linux-stable-df2c71ffdfae58961981d7cbcccea93688fc4e96.tar.bz2 linux-stable-df2c71ffdfae58961981d7cbcccea93688fc4e96.zip |
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.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/sctp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index b8f2c4d56532..9b9b82debc0d 100644 --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h @@ -134,6 +134,7 @@ typedef __s32 sctp_assoc_t; #define SCTP_INTERLEAVING_SUPPORTED 125 #define SCTP_SENDMSG_CONNECT 126 #define SCTP_EVENT 127 +#define SCTP_ASCONF_SUPPORTED 128 /* PR-SCTP policies */ #define SCTP_PR_SCTP_NONE 0x0000 |