summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-30 09:10:50 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-30 09:10:50 +0000
commitb5f0b432f6a1666b3e9e77b7dfa6b5ac18808c19 (patch)
tree2c4f8e3413915b49f1da00a60cbc000b59c7d331 /sys/netinet6/in6.h
parentc7e4154a5ba9eabe65acaf578821eb1ade710308 (diff)
Keep ipv6_input() definition inside _KERNEL.
Unbreak userland, found the hardway by deraadt@
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index b62cfccf2bd..1aac6581916 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.95 2017/05/30 07:50:37 mpi Exp $ */
+/* $OpenBSD: in6.h,v 1.96 2017/05/30 09:10:49 mpi Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -411,6 +411,8 @@ struct mbuf;
struct ifnet;
struct cmsghdr;
+void ipv6_input(struct ifnet *, struct mbuf *);
+
int in6_cksum(struct mbuf *, u_int8_t, u_int32_t, u_int32_t);
void in6_proto_cksum_out(struct mbuf *, struct ifnet *);
int in6_localaddr(struct in6_addr *);
@@ -712,8 +714,6 @@ ifatoia6(struct ifaddr *ifa)
__BEGIN_DECLS
struct cmsghdr;
-void ipv6_input(struct ifnet *, struct mbuf *);
-
extern int inet6_opt_init(void *, socklen_t);
extern int inet6_opt_append(void *, socklen_t, int, u_int8_t,
socklen_t, u_int8_t, void **);