sctp: add basic structures and make chunk function for ifwdtsn
authorXin Long <lucien.xin@gmail.com>
Thu, 14 Dec 2017 16:41:25 +0000 (00:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 18:52:21 +0000 (13:52 -0500)
commit2d07a49aded490a0a4a2748e64030a0f59b6b8be
tree002bb4a971000aeeadcc77611c04136314d20496
parent024778095aa340960fdfd7f7db293290454fbce2
sctp: add basic structures and make chunk function for ifwdtsn

sctp_ifwdtsn_skip, sctp_ifwdtsn_hdr and sctp_ifwdtsn_chunk are used to
define and parse I-FWD TSN chunk format, and sctp_make_ifwdtsn is a
function to build the chunk.

The I-FORWARD-TSN Chunk Format is defined in section 2.3.1 of RFC8260.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo R. Leitner <marcelo.leitner@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/sm_make_chunk.c