diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-15 22:54:23 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-02 21:06:00 -0400 |
commit | 52eeeb8481d705e61e2e9aae974e7799a93783e9 (patch) | |
tree | 6ced371b81334f07926e7bdc190fc2efa396659f /include/net | |
parent | 6294e000736401d4415ad41f408e56e14aaaf7b4 (diff) |
[IPV6]: Unify ip6_onlink() and ipip6_onlink().
Both are identical, let's create ipv6_chk_prefix() and use it
in both places.
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/addrconf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index d89b0bc7ab75..bdcc863a60a4 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h | |||
@@ -71,6 +71,10 @@ extern int ipv6_chk_addr(struct net *net, | |||
71 | extern int ipv6_chk_home_addr(struct net *net, | 71 | extern int ipv6_chk_home_addr(struct net *net, |
72 | struct in6_addr *addr); | 72 | struct in6_addr *addr); |
73 | #endif | 73 | #endif |
74 | |||
75 | extern int ipv6_chk_prefix(struct in6_addr *addr, | ||
76 | struct net_device *dev); | ||
77 | |||
74 | extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, | 78 | extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, |
75 | struct in6_addr *addr, | 79 | struct in6_addr *addr, |
76 | struct net_device *dev, | 80 | struct net_device *dev, |