summaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_output.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2008-07-09 16:45:30 +0000
committerRandall Stewart <rrs@FreeBSD.org>2008-07-09 16:45:30 +0000
commitfc14de76f4d8e486557623742ddd8ba511cd3f05 (patch)
tree4a87f4aa4fe465871cb0aabaa4a65bf4595791b3 /sys/netinet/sctp_output.h
parenta55b8b206826407ced58569d0142c479273be3dc (diff)
Notes
Diffstat (limited to 'sys/netinet/sctp_output.h')
-rw-r--r--sys/netinet/sctp_output.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/sctp_output.h b/sys/netinet/sctp_output.h
index f0961b85a1ec..ddbe70968566 100644
--- a/sys/netinet/sctp_output.h
+++ b/sys/netinet/sctp_output.h
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include <netinet/sctp_header.h>
-#if defined(_KERNEL)
+#if defined(_KERNEL) || defined(__Userspace__)
struct mbuf *
@@ -201,6 +201,9 @@ sctp_send_abort(struct mbuf *, int, struct sctphdr *, uint32_t,
void sctp_send_operr_to(struct mbuf *, int, struct mbuf *, uint32_t, uint32_t, uint16_t);
+#endif /* _KERNEL || __Userspace__ */
+
+#if defined(_KERNEL) || defined (__Userspace__)
int
sctp_sosend(struct socket *so,
struct sockaddr *addr,