diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-01-13 06:28:17 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-01-13 06:28:17 +0000 |
commit | 59a37825f5aa0c680b995ba70c2ced62b9f45b0e (patch) | |
tree | 4a304d3708c34a14d39f5f61ddf18a6b7933d9e6 /sys | |
parent | 99961b3c56b9d3a9c4fd10195c3c29dbabdf41cb (diff) |
Expose in6_ifremloop() and in6_ifaddloop() so that they can be used by carp.
ok henning@ millert@ itojun@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/in6.c | 6 | ||||
-rw-r--r-- | sys/netinet6/in6_var.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index ed5de8808ed..b2e52435a55 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.52 2003/12/10 03:30:21 itojun Exp $ */ +/* $OpenBSD: in6.c,v 1.53 2004/01/13 06:28:16 mcbride Exp $ */ /* $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $ */ /* @@ -210,7 +210,7 @@ in6_ifloop_request(int cmd, struct ifaddr *ifa) * rely on the cloning mechanism from the corresponding interface route * any more. */ -static void +void in6_ifaddloop(struct ifaddr *ifa) { struct rtentry *rt; @@ -228,7 +228,7 @@ in6_ifaddloop(struct ifaddr *ifa) * Remove loopback rtentry of ownaddr generated by in6_ifaddloop(), * if it exists. */ -static void +void in6_ifremloop(struct ifaddr *ifa) { struct in6_ifaddr *ia; diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h index c4d42d54011..d77e813308b 100644 --- a/sys/netinet6/in6_var.h +++ b/sys/netinet6/in6_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_var.h,v 1.22 2003/10/15 23:35:42 itojun Exp $ */ +/* $OpenBSD: in6_var.h,v 1.23 2004/01/13 06:28:16 mcbride Exp $ */ /* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */ /* @@ -593,6 +593,8 @@ int in6_matchlen(struct in6_addr *, struct in6_addr *); int in6_are_prefix_equal(struct in6_addr *, struct in6_addr *, int); void in6_prefixlen2mask(struct in6_addr *, int); void in6_purgeprefix(struct ifnet *); +void in6_ifaddloop(struct ifaddr *); +void in6_ifremloop(struct ifaddr *); int in6_is_addr_deprecated(struct sockaddr_in6 *); struct inpcb; |