summaryrefslogtreecommitdiff
path: root/include/net/sctp/ulpevent.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-03-10 07:11:06 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-13 09:22:23 +0300
commitc95129d127c6d3d9fca189c6f94c539a7f086b1a (patch)
treeea08bdcdb7573fbdddc2908339837751a9ed7dea /include/net/sctp/ulpevent.h
parentb3ca9af0fb65098dd2afecca6831c361a585f37f (diff)
downloadlinux-c95129d127c6d3d9fca189c6f94c539a7f086b1a.tar.xz
sctp: add support for generating assoc reset event notification
This patch is to add Association Reset Event described in rfc6525 section 6.1.2. 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 324b5965fc4d..2ab7ed44de52 100644
--- a/include/net/sctp/ulpevent.h
+++ b/include/net/sctp/ulpevent.h
@@ -132,6 +132,10 @@ struct sctp_ulpevent *sctp_ulpevent_make_stream_reset_event(
const struct sctp_association *asoc, __u16 flags,
__u16 stream_num, __u16 *stream_list, gfp_t gfp);
+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);
+
void sctp_ulpevent_read_sndrcvinfo(const struct sctp_ulpevent *event,
struct msghdr *);
void sctp_ulpevent_read_rcvinfo(const struct sctp_ulpevent *event,