diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-03-14 14:05:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-14 20:48:27 +0300 |
commit | 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b (patch) | |
tree | f5f0ff6a3f3620a169a88efe896a902daea2bb9a /include/uapi/linux | |
parent | ec2e506c680deaa8e1a087986db6d73ba63a04be (diff) | |
download | linux-30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b.tar.xz |
sctp: add SCTP_AUTH_NO_AUTH type for AUTHENTICATION_EVENT
This patch is to add SCTP_AUTH_NO_AUTH type for AUTHENTICATION_EVENT,
as described in section 6.1.8 of RFC6458.
SCTP_AUTH_NO_AUTH: This report indicates that the peer does not
support SCTP authentication as defined in [RFC4895].
Note that the implementation is quite similar as that of
SCTP_ADAPTATION_INDICATION.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
-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 18ebbfeee4af..afd4346386e0 100644 --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h @@ -522,6 +522,7 @@ enum { SCTP_AUTH_NEW_KEY, #define SCTP_AUTH_NEWKEY SCTP_AUTH_NEW_KEY /* compatible with before */ SCTP_AUTH_FREE_KEY, + SCTP_AUTH_NO_AUTH, }; /* |