aboutsummaryrefslogtreecommitdiff
path: root/include/net/sctp/sm.h
diff options
context:
space:
mode:
authorGravatar Xin Long <lucien.xin@gmail.com> 2017-03-10 12:11:11 +0800
committerGravatar David S. Miller <davem@davemloft.net> 2017-03-12 23:22:24 -0700
commit11ae76e67a179f25ae8f772d62a7ddf717b1cdf3 (patch)
tree74d2d2849d1ad2ad4cf6cc37683411f192d343ce /include/net/sctp/sm.h
parentsctp: implement receiver-side procedures for the Add Incoming Streams Request... (diff)
downloadlinux-11ae76e67a179f25ae8f772d62a7ddf717b1cdf3.tar.gz
linux-11ae76e67a179f25ae8f772d62a7ddf717b1cdf3.tar.bz2
linux-11ae76e67a179f25ae8f772d62a7ddf717b1cdf3.zip
sctp: implement receiver-side procedures for the Reconf Response Parameter
This patch is to implement Receiver-Side Procedures for the Re-configuration Response Parameter in rfc6525 section 5.2.7. sctp_process_strreset_resp would process the response for any kind of reconf request, and the stream reconf is applied only when the response result is success. 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 e0d982588642..47113f2c4b0a 100644
--- a/include/net/sctp/sm.h
+++ b/include/net/sctp/sm.h
@@ -305,6 +305,10 @@ struct sctp_chunk *sctp_process_strreset_addstrm_in(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp);
+struct sctp_chunk *sctp_process_strreset_resp(
+ struct sctp_association *asoc,
+ union sctp_params param,
+ struct sctp_ulpevent **evp);
/* Prototypes for statetable processing. */