aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/sctp/sm.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-03-10 12:11:10 +0800
committerDavid S. Miller <davem@davemloft.net>2017-03-12 23:22:24 -0700
commitc5c4ebb3ab87fd87e44a47ec8289238e6f6084c1 (patch)
treec0740b8df669151e47d63c59ab0ef41d2559fa77 /include/net/sctp/sm.h
parentsctp: implement receiver-side procedures for the Add Outgoing Streams Request Parameter (diff)
downloadwireguard-linux-c5c4ebb3ab87fd87e44a47ec8289238e6f6084c1.tar.xz
wireguard-linux-c5c4ebb3ab87fd87e44a47ec8289238e6f6084c1.zip
sctp: implement receiver-side procedures for the Add Incoming Streams Request Parameter
This patch is to implement Receiver-Side Procedures for the Add Incoming Streams Request Parameter described in rfc6525 section 5.2.6. It is also to fix that it shouldn't have add streams when sending addstrm in request, as the process in peer will handle it by sending a addstrm out request back. 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 93ae50bbfa99..e0d982588642 100644
--- a/include/net/sctp/sm.h
+++ b/include/net/sctp/sm.h
@@ -301,6 +301,10 @@ struct sctp_chunk *sctp_process_strreset_addstrm_out(
struct sctp_association *asoc,
union sctp_params param,
struct sctp_ulpevent **evp);
+struct sctp_chunk *sctp_process_strreset_addstrm_in(
+ struct sctp_association *asoc,
+ union sctp_params param,
+ struct sctp_ulpevent **evp);
/* Prototypes for statetable processing. */