aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/addrconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r--include/net/addrconf.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index 23710aa6a18..7c4d92c0dd1 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -61,16 +61,16 @@ extern int addrconf_set_dstaddr(struct net *net,
61 void __user *arg); 61 void __user *arg);
62 62
63extern int ipv6_chk_addr(struct net *net, 63extern int ipv6_chk_addr(struct net *net,
64 struct in6_addr *addr, 64 const struct in6_addr *addr,
65 struct net_device *dev, 65 struct net_device *dev,
66 int strict); 66 int strict);
67 67
68#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE) 68#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
69extern int ipv6_chk_home_addr(struct net *net, 69extern int ipv6_chk_home_addr(struct net *net,
70 struct in6_addr *addr); 70 const struct in6_addr *addr);
71#endif 71#endif
72 72
73extern int ipv6_chk_prefix(struct in6_addr *addr, 73extern int ipv6_chk_prefix(const struct in6_addr *addr,
74 struct net_device *dev); 74 struct net_device *dev);
75 75
76extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, 76extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net,
@@ -89,9 +89,9 @@ extern int ipv6_get_lladdr(struct net_device *dev,
89extern int ipv6_rcv_saddr_equal(const struct sock *sk, 89extern int ipv6_rcv_saddr_equal(const struct sock *sk,
90 const struct sock *sk2); 90 const struct sock *sk2);
91extern void addrconf_join_solict(struct net_device *dev, 91extern void addrconf_join_solict(struct net_device *dev,
92 struct in6_addr *addr); 92 const struct in6_addr *addr);
93extern void addrconf_leave_solict(struct inet6_dev *idev, 93extern void addrconf_leave_solict(struct inet6_dev *idev,
94 struct in6_addr *addr); 94 const struct in6_addr *addr);
95 95
96static inline unsigned long addrconf_timeout_fixup(u32 timeout, 96static inline unsigned long addrconf_timeout_fixup(u32 timeout,
97 unsigned unit) 97 unsigned unit)
@@ -158,15 +158,15 @@ extern void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len);
158/* 158/*
159 * anycast prototypes (anycast.c) 159 * anycast prototypes (anycast.c)
160 */ 160 */
161extern int ipv6_sock_ac_join(struct sock *sk,int ifindex,struct in6_addr *addr); 161extern int ipv6_sock_ac_join(struct sock *sk,int ifindex, const struct in6_addr *addr);
162extern int ipv6_sock_ac_drop(struct sock *sk,int ifindex,struct in6_addr *addr); 162extern int ipv6_sock_ac_drop(struct sock *sk,int ifindex, const struct in6_addr *addr);
163extern void ipv6_sock_ac_close(struct sock *sk); 163extern void ipv6_sock_ac_close(struct sock *sk);
164extern int inet6_ac_check(struct sock *sk, struct in6_addr *addr, int ifindex); 164extern int inet6_ac_check(struct sock *sk, const struct in6_addr *addr, int ifindex);
165 165
166extern int ipv6_dev_ac_inc(struct net_device *dev, struct in6_addr *addr); 166extern int ipv6_dev_ac_inc(struct net_device *dev, const struct in6_addr *addr);
167extern int __ipv6_dev_ac_dec(struct inet6_dev *idev, struct in6_addr *addr); 167extern int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr);
168extern int ipv6_chk_acast_addr(struct net *net, struct net_device *dev, 168extern int ipv6_chk_acast_addr(struct net *net, struct net_device *dev,
169 struct in6_addr *addr); 169 const struct in6_addr *addr);
170 170
171 171
172/* Device notifier */ 172/* Device notifier */