summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-07-18 15:05:33 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-07-18 15:05:33 +0000
commit46a5eab6e0f17bfaf10608ed1f0bfaed096e1737 (patch)
tree4bb0671bbbb6378b352e8bb697956dcefa0d7ab0 /sys/netinet6/nd6.h
parent9672463bbc0a0462b63a609c3f3791be17a71dc2 (diff)
Merge two identical chunks to add new prefixes to the global data
structures into a function. ok florian@
Diffstat (limited to 'sys/netinet6/nd6.h')
-rw-r--r--sys/netinet6/nd6.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index 9286ae599bf..e96e4ce216a 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.h,v 1.43 2015/07/16 15:31:35 mpi Exp $ */
+/* $OpenBSD: nd6.h,v 1.44 2015/07/18 15:05:32 mpi Exp $ */
/* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */
/*
@@ -313,6 +313,9 @@ int nd6_prefix_onlink(struct nd_prefix *);
int nd6_prefix_offlink(struct nd_prefix *);
void pfxlist_onlink_check(void);
struct nd_defrouter *defrouter_lookup(struct in6_addr *, struct ifnet *);
+
+struct nd_prefix *nd6_prefix_add(struct ifnet *, struct sockaddr_in6 *,
+ struct sockaddr_in6 *, struct in6_addrlifetime *, int);
struct nd_prefix *nd6_prefix_lookup(struct nd_prefix *);
int in6_ifdel(struct ifnet *, struct in6_addr *);
int in6_init_prefix_ltimes(struct nd_prefix *ndpr);