diff options
author | 2017-05-30 09:10:49 +0000 | |
---|---|---|
committer | 2017-05-30 09:10:49 +0000 | |
commit | d1e88da260ac374b39603ac16117876748d35ca5 (patch) | |
tree | 4a1539a0c9edf486684544d20825a7cc2d6e617a /sys/netinet6/in6.h | |
parent | Enable slaacd(8) by default and disable router solicitation and (diff) | |
download | wireguard-openbsd-d1e88da260ac374b39603ac16117876748d35ca5.tar.xz wireguard-openbsd-d1e88da260ac374b39603ac16117876748d35ca5.zip |
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.h | 6 |
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 **); |