summaryrefslogtreecommitdiffstats
path: root/include/net/sctp/ulpevent.h
diff options
context:
space:
mode:
authorVlad Yasevich2007-09-17 04:34:00 +0200
committerDavid S. Miller2007-10-11 01:51:32 +0200
commit65b07e5d0d09c77e98050b5f0146ead29e5add32 (patch)
treeb5c5ac79969401238ce2c01d3999016238b02b93 /include/net/sctp/ulpevent.h
parent[SCTP]: Implement the receive and verification of AUTH chunk (diff)
downloadkernel-qcow2-linux-65b07e5d0d09c77e98050b5f0146ead29e5add32.tar.gz
kernel-qcow2-linux-65b07e5d0d09c77e98050b5f0146ead29e5add32.tar.xz
kernel-qcow2-linux-65b07e5d0d09c77e98050b5f0146ead29e5add32.zip
[SCTP]: API updates to suport SCTP-AUTH extensions.
Add SCTP-AUTH API. The API implemented here was agreed to between implementors at the 9th SCTP Interop. It will be documented in the next revision of the SCTP socket API spec. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.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 de88ed5b0ba6..922a151eb93c 100644
--- a/include/net/sctp/ulpevent.h
+++ b/include/net/sctp/ulpevent.h
@@ -128,6 +128,10 @@ struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc,
struct sctp_chunk *chunk,
gfp_t gfp);
+struct sctp_ulpevent *sctp_ulpevent_make_authkey(
+ const struct sctp_association *asoc, __u16 key_id,
+ __u32 indication, gfp_t gfp);
+
void sctp_ulpevent_read_sndrcvinfo(const struct sctp_ulpevent *event,
struct msghdr *);
__u16 sctp_ulpevent_get_notification_type(const struct sctp_ulpevent *event);