]> 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)
commit2a6fb14535d0b7b8f310afb2eb125ddb85be3c3e
tree337cb3167d82336181eb4c4a44ab543dd54e2502
parente5b40f4eb71911a87d0e921eb7e9521d9bae3ca1
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