aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/ulpevent.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-03-10 12:11:08 +0800
committerDavid S. Miller <davem@davemloft.net>2017-03-12 23:22:23 -0700
commitb444153fb5a647448c2080ad28656ad183cae4fc (patch)
tree5b1d1aa10e516cd83f28a4b9f639ad1346ed7031 /include/net/sctp/ulpevent.h
parentsctp: implement receiver-side procedures for the SSN/TSN Reset Request Parameter (diff)
downloadlinux-dev-b444153fb5a647448c2080ad28656ad183cae4fc.tar.xz
linux-dev-b444153fb5a647448c2080ad28656ad183cae4fc.zip
sctp: add support for generating add stream change event notification
This patch is to add Stream Change Event described in rfc6525 section 6.1.3. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/ulpevent.h')
-rw-r--r--include/net/sctp/ulpevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/sctp/ulpevent.h b/include/net/sctp/ulpevent.h
index 2ab7ed44de52..1060494ac230 100644
--- a/include/net/sctp/ulpevent.h
+++ b/include/net/sctp/ulpevent.h
@@ -136,6 +136,10 @@ struct sctp_ulpevent *sctp_ulpevent_make_assoc_reset_event(
const struct sctp_association *asoc, __u16 flags,
__u32 local_tsn, __u32 remote_tsn, gfp_t gfp);
+struct sctp_ulpevent *sctp_ulpevent_make_stream_change_event(
+ const struct sctp_association *asoc, __u16 flags,
+ __u32 strchange_instrms, __u32 strchange_outstrms, gfp_t gfp);
+
void sctp_ulpevent_read_sndrcvinfo(const struct sctp_ulpevent *event,
struct msghdr *);
void sctp_ulpevent_read_rcvinfo(const struct sctp_ulpevent *event,