sctp: add basic structures and make chunk function for idata
sctp_idatahdr and sctp_idata_chunk are used to define and parse I-DATA chunk format, and sctp_make_idata is a function to build the chunk. The I-DATA Chunk Format is defined in section 2.1 of RFC8260. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
96b120b3c1
commit
ad05a7a05e
@@ -575,6 +575,7 @@ struct sctp_chunk {
|
||||
struct sctp_addiphdr *addip_hdr;
|
||||
struct sctp_fwdtsn_hdr *fwdtsn_hdr;
|
||||
struct sctp_authhdr *auth_hdr;
|
||||
struct sctp_idatahdr *idata_hdr;
|
||||
} subh;
|
||||
|
||||
__u8 *chunk_end;
|
||||
|
||||
Reference in New Issue
Block a user