aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 452a82ce4796..e035896657bc 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -271,6 +271,8 @@ void in6_dev_finish_destroy(struct inet6_dev *idev)
271 call_rcu(&idev->rcu, in6_dev_finish_destroy_rcu); 271 call_rcu(&idev->rcu, in6_dev_finish_destroy_rcu);
272} 272}
273 273
274EXPORT_SYMBOL(in6_dev_finish_destroy);
275
274static struct inet6_dev * ipv6_add_dev(struct net_device *dev) 276static struct inet6_dev * ipv6_add_dev(struct net_device *dev)
275{ 277{
276 struct inet6_dev *ndev; 278 struct inet6_dev *ndev;
@@ -1107,6 +1109,7 @@ int ipv6_get_saddr(struct dst_entry *dst,
1107 return ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL, daddr, saddr); 1109 return ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL, daddr, saddr);
1108} 1110}
1109 1111
1112EXPORT_SYMBOL(ipv6_get_saddr);
1110 1113
1111int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr) 1114int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr)
1112{ 1115{
@@ -1161,6 +1164,8 @@ int ipv6_chk_addr(struct in6_addr *addr, struct net_device *dev, int strict)
1161 return ifp != NULL; 1164 return ifp != NULL;
1162} 1165}
1163 1166
1167EXPORT_SYMBOL(ipv6_chk_addr);
1168
1164static 1169static
1165int ipv6_chk_same_addr(const struct in6_addr *addr, struct net_device *dev) 1170int ipv6_chk_same_addr(const struct in6_addr *addr, struct net_device *dev)
1166{ 1171{
@@ -4021,11 +4026,15 @@ int register_inet6addr_notifier(struct notifier_block *nb)
4021 return atomic_notifier_chain_register(&inet6addr_chain, nb); 4026 return atomic_notifier_chain_register(&inet6addr_chain, nb);
4022} 4027}
4023 4028
4029EXPORT_SYMBOL(register_inet6addr_notifier);
4030
4024int unregister_inet6addr_notifier(struct notifier_block *nb) 4031int unregister_inet6addr_notifier(struct notifier_block *nb)
4025{ 4032{
4026 return atomic_notifier_chain_unregister(&inet6addr_chain,nb); 4033 return atomic_notifier_chain_unregister(&inet6addr_chain,nb);
4027} 4034}
4028 4035
4036EXPORT_SYMBOL(unregister_inet6addr_notifier);
4037
4029/* 4038/*
4030 * Init / cleanup code 4039 * Init / cleanup code
4031 */ 4040 */