diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-02-17 07:45:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 02:17:59 +0300 |
commit | 16e1a91965b02fe24d24e8b8d7b2245d29ed6a70 (patch) | |
tree | ef97f069fe07ae34f584ded2f77fc6ea025491a1 /include/net/sctp | |
parent | 81054476453640159149cb6704e834893e16736b (diff) | |
download | linux-16e1a91965b02fe24d24e8b8d7b2245d29ed6a70.tar.xz |
sctp: implement receiver-side procedures for the Incoming SSN Reset Request Parameter
This patch is to implement Receiver-Side Procedures for the Incoming
SSN Reset Request Parameter described in rfc6525 section 5.2.3.
It's also to move str_list endian conversion out of sctp_make_strreset_req,
so that sctp_make_strreset_req can be used more conveniently to process
inreq.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r-- | include/net/sctp/sm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h index c0f9bea4fa92..f6a828d3d072 100644 --- a/include/net/sctp/sm.h +++ b/include/net/sctp/sm.h @@ -285,6 +285,10 @@ struct sctp_chunk *sctp_process_strreset_outreq( struct sctp_association *asoc, union sctp_params param, struct sctp_ulpevent **evp); +struct sctp_chunk *sctp_process_strreset_inreq( + struct sctp_association *asoc, + union sctp_params param, + struct sctp_ulpevent **evp); /* Prototypes for statetable processing. */ |