aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-08-19 22:02:46 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-19 18:27:28 -0700
commitdf2c71ffdfae58961981d7cbcccea93688fc4e96 (patch)
treeda186fb9cfae2acbee3c3d63b049256f82076249 /include/uapi/linux/sctp.h
parentsctp: check asoc peer.asconf_capable before processing asconf (diff)
downloadlinux-dev-df2c71ffdfae58961981d7cbcccea93688fc4e96.tar.xz
linux-dev-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/linux/sctp.h')
-rw-r--r--include/uapi/linux/sctp.h1
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