sctp: implement receiver-side procedures for the Outgoing SSN Reset Request Parameter
This patch is to implement Receiver-Side Procedures for the Outgoing SSN Reset Request Parameter described in rfc6525 section 5.2.2. Note that some checks must be after request_seq check, as even those checks fail, strreset_inseq still has to be increase by 1. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
35ea82d611
commit
8105447645
@@ -280,6 +280,12 @@ struct sctp_chunk *sctp_make_strreset_tsnresp(
|
||||
void sctp_chunk_assign_tsn(struct sctp_chunk *);
|
||||
void sctp_chunk_assign_ssn(struct sctp_chunk *);
|
||||
|
||||
/* Prototypes for stream-processing functions. */
|
||||
struct sctp_chunk *sctp_process_strreset_outreq(
|
||||
struct sctp_association *asoc,
|
||||
union sctp_params param,
|
||||
struct sctp_ulpevent **evp);
|
||||
|
||||
/* Prototypes for statetable processing. */
|
||||
|
||||
int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype,
|
||||
|
Reference in New Issue
Block a user