summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long2017-02-08 18:18:18 +0100
committerDavid S. Miller2017-02-09 22:57:38 +0100
commita92ce1a42dde1caaee4afae67531e3e7acecf6e4 (patch)
tree986627557298741d54a71074fd9d31ce1bfae810 /include/uapi/linux/sctp.h
parentsctp: add support for generating stream reconf ssn/tsn reset request chunk (diff)
downloadkernel-qcow2-linux-a92ce1a42dde1caaee4afae67531e3e7acecf6e4.tar.gz
kernel-qcow2-linux-a92ce1a42dde1caaee4afae67531e3e7acecf6e4.tar.xz
kernel-qcow2-linux-a92ce1a42dde1caaee4afae67531e3e7acecf6e4.zip
sctp: implement sender-side procedures for SSN/TSN Reset Request Parameter
This patch is to implement Sender-Side Procedures for the SSN/TSN Reset Request Parameter descibed in rfc6525 section 5.1.4. It is also to add sockopt SCTP_RESET_ASSOC in rfc6525 section 6.3.3 for users. 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/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 03c27cefffb1..c0bd8c3d565a 100644
--- a/include/uapi/linux/sctp.h
+++ b/include/uapi/linux/sctp.h
@@ -117,6 +117,7 @@ typedef __s32 sctp_assoc_t;
#define SCTP_PR_ASSOC_STATUS 115
#define SCTP_ENABLE_STREAM_RESET 118
#define SCTP_RESET_STREAMS 119
+#define SCTP_RESET_ASSOC 120
/* PR-SCTP policies */
#define SCTP_PR_SCTP_NONE 0x0000