summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_var.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2011-07-26 21:19:52 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2011-07-26 21:19:52 +0000
commit05eda0b2c9cbf976e3527833943b961079ab7cb8 (patch)
tree638b0bca9bcddbbab7189c8e1b9f746492fd4414 /sys/netinet6/in6_var.h
parent43ae0dd2b3b6f2848e5cae0c23136faf95d90f72 (diff)
Accept neighbor discovery packets from source IPv6 addresses for
which we have a cloning or cloned route. The old check was based on configured interface addresses, now we use a route lookup. This allows us to use prefixes for the local network that ospf6d has added. ok claudio@
Diffstat (limited to 'sys/netinet6/in6_var.h')
-rw-r--r--sys/netinet6/in6_var.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h
index 27efbf397b6..6c485d39f85 100644
--- a/sys/netinet6/in6_var.h
+++ b/sys/netinet6/in6_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_var.h,v 1.32 2010/07/08 19:42:46 jsg Exp $ */
+/* $OpenBSD: in6_var.h,v 1.33 2011/07/26 21:19:51 bluhm Exp $ */
/* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */
/*
@@ -588,8 +588,7 @@ void in6_createmkludge(struct ifnet *);
void in6_purgemkludge(struct ifnet *);
struct in6_ifaddr *in6ifa_ifpforlinklocal(struct ifnet *, int);
struct in6_ifaddr *in6ifa_ifpwithaddr(struct ifnet *, struct in6_addr *);
-struct in6_ifaddr *in6ifa_ifplocaladdr(const struct ifnet *,
- const struct in6_addr *);
+int in6_ifpprefix(const struct ifnet *, const struct in6_addr *);
char *ip6_sprintf(struct in6_addr *);
int in6_addr2scopeid(struct ifnet *, struct in6_addr *);
int in6_matchlen(struct in6_addr *, struct in6_addr *);