]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add support for generating stream reconf ssn reset request chunk
authorXin Long <lucien.xin@gmail.com>
Tue, 17 Jan 2017 16:44:42 +0000 (00:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2017 19:55:09 +0000 (14:55 -0500)
commit90b053c76600c90acc0160ec9801e5d365a6258b
tree337cb3167d82336181eb4c4a44ab543dd54e2502
parentc35a04a98c9ab521baa1857b83cb3deae62cbc09
sctp: add support for generating stream reconf ssn reset request chunk

This patch is to add asoc strreset_outseq and strreset_inseq for
saving the reconf request sequence, initialize them when create
assoc and process init, and also to define Incoming and Outgoing
SSN Reset Request Parameter described in rfc6525 section 4.1 and
4.2, As they can be in one same chunk as section rfc6525 3.1-3
describes, it makes them in one function.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
include/net/sctp/sm.h
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/sm_make_chunk.c