summaryrefslogtreecommitdiff
path: root/net/sctp/primitive.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-01-18 00:44:44 +0800
committerDavid S. Miller <davem@davemloft.net>2017-01-18 14:55:10 -0500
commit7a090b04522b46a219c271d4cd2abbf572623e03 (patch)
tree54c33372eb70a012a22d715130fdff9c504fa1fa /net/sctp/primitive.c
parent7b9438de0cd4b46a6914416bfede6cf839cd9e68 (diff)
sctp: add stream reconf primitive
This patch is to add a primitive based on sctp primitive frame for sending stream reconf request. It works as the other primitives, and create a SCTP_CMD_REPLY command to send the request chunk out. sctp_primitive_RECONF would be the api to send a reconf request chunk. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/primitive.c')
-rw-r--r--net/sctp/primitive.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sctp/primitive.c b/net/sctp/primitive.c
index ab8d9f96a177..f0553a022859 100644
--- a/net/sctp/primitive.c
+++ b/net/sctp/primitive.c
@@ -211,3 +211,6 @@ DECLARE_PRIMITIVE(REQUESTHEARTBEAT);
*/
DECLARE_PRIMITIVE(ASCONF);
+
+/* RE-CONFIG 5.1 */
+DECLARE_PRIMITIVE(RECONF);