aboutsummaryrefslogtreecommitdiff
path: root/include/net/sctp/structs.h
diff options
context:
space:
mode:
authorGravatar Xin Long <lucien.xin@gmail.com> 2017-12-15 00:41:25 +0800
committerGravatar David S. Miller <davem@davemloft.net> 2017-12-15 13:52:21 -0500
commit2d07a49aded490a0a4a2748e64030a0f59b6b8be (patch)
tree002bb4a971000aeeadcc77611c04136314d20496 /include/net/sctp/structs.h
parentnet: phy: phylink: Handle NULL fwnode_handle (diff)
downloadlinux-2d07a49aded490a0a4a2748e64030a0f59b6b8be.tar.gz
linux-2d07a49aded490a0a4a2748e64030a0f59b6b8be.tar.bz2
linux-2d07a49aded490a0a4a2748e64030a0f59b6b8be.zip
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>
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r--include/net/sctp/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 8ef638d966f1..a5c3cf41e693 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -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;