diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 9 |
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 | ||
274 | EXPORT_SYMBOL(in6_dev_finish_destroy); | ||
275 | |||
274 | static struct inet6_dev * ipv6_add_dev(struct net_device *dev) | 276 | static 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 | ||
1112 | EXPORT_SYMBOL(ipv6_get_saddr); | ||
1110 | 1113 | ||
1111 | int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr) | 1114 | int 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 | ||
1167 | EXPORT_SYMBOL(ipv6_chk_addr); | ||
1168 | |||
1164 | static | 1169 | static |
1165 | int ipv6_chk_same_addr(const struct in6_addr *addr, struct net_device *dev) | 1170 | int 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 | ||
4029 | EXPORT_SYMBOL(register_inet6addr_notifier); | ||
4030 | |||
4024 | int unregister_inet6addr_notifier(struct notifier_block *nb) | 4031 | int 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 | ||
4036 | EXPORT_SYMBOL(unregister_inet6addr_notifier); | ||
4037 | |||
4029 | /* | 4038 | /* |
4030 | * Init / cleanup code | 4039 | * Init / cleanup code |
4031 | */ | 4040 | */ |