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>
This commit is contained in:
committed by
David S. Miller
parent
024778095a
commit
2d07a49ade
@@ -599,6 +599,7 @@ struct sctp_chunk {
|
||||
struct sctp_fwdtsn_hdr *fwdtsn_hdr;
|
||||
struct sctp_authhdr *auth_hdr;
|
||||
struct sctp_idatahdr *idata_hdr;
|
||||
struct sctp_ifwdtsn_hdr *ifwdtsn_hdr;
|
||||
} subh;
|
||||
|
||||
__u8 *chunk_end;
|
||||
|
||||
Reference in New Issue
Block a user