summaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sm.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-02-17 12:45:40 +0800
committerDavid S. Miller <davem@davemloft.net>2017-02-19 18:17:59 -0500
commit16e1a91965b02fe24d24e8b8d7b2245d29ed6a70 (patch)
treeef97f069fe07ae34f584ded2f77fc6ea025491a1 /include/net/sctp/sm.h
parent81054476453640159149cb6704e834893e16736b (diff)
downloadlinux-0-day-16e1a91965b02fe24d24e8b8d7b2245d29ed6a70.tar.gz
linux-0-day-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/sm.h')
-rw-r--r--include/net/sctp/sm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h
index c0f9bea4fa927..f6a828d3d0721 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. */