sctp: implement handle_ftsn for sctp_stream_interleave
handle_ftsn is added as a member of sctp_stream_interleave, used to skip ssn for data or mid for idata, called for SCTP_CMD_PROCESS_FWDTSN cmd. sctp_handle_iftsn works for ifwdtsn, and sctp_handle_fwdtsn works for fwdtsn. Note that different from sctp_handle_fwdtsn, sctp_handle_iftsn could do stream abort pd. 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
47b20a8856
commit
de60fe9105
@@ -52,6 +52,8 @@ struct sctp_stream_interleave {
|
||||
void (*generate_ftsn)(struct sctp_outq *q, __u32 ctsn);
|
||||
bool (*validate_ftsn)(struct sctp_chunk *chunk);
|
||||
void (*report_ftsn)(struct sctp_ulpq *ulpq, __u32 ftsn);
|
||||
void (*handle_ftsn)(struct sctp_ulpq *ulpq,
|
||||
struct sctp_chunk *chunk);
|
||||
};
|
||||
|
||||
void sctp_stream_interleave_init(struct sctp_stream *stream);
|
||||
|
Reference in New Issue
Block a user