diff options
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 22 |
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 | ||
63 | extern int ipv6_chk_addr(struct net *net, | 63 | extern 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) |
69 | extern int ipv6_chk_home_addr(struct net *net, | 69 | extern 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 | ||
73 | extern int ipv6_chk_prefix(struct in6_addr *addr, | 73 | extern int ipv6_chk_prefix(const struct in6_addr *addr, |
74 | struct net_device *dev); | 74 | struct net_device *dev); |
75 | 75 | ||
76 | extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, | 76 | extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, |
@@ -89,9 +89,9 @@ extern int ipv6_get_lladdr(struct net_device *dev, | |||
89 | extern int ipv6_rcv_saddr_equal(const struct sock *sk, | 89 | extern int ipv6_rcv_saddr_equal(const struct sock *sk, |
90 | const struct sock *sk2); | 90 | const struct sock *sk2); |
91 | extern void addrconf_join_solict(struct net_device *dev, | 91 | extern void addrconf_join_solict(struct net_device *dev, |
92 | struct in6_addr *addr); | 92 | const struct in6_addr *addr); |
93 | extern void addrconf_leave_solict(struct inet6_dev *idev, | 93 | extern void addrconf_leave_solict(struct inet6_dev *idev, |
94 | struct in6_addr *addr); | 94 | const struct in6_addr *addr); |
95 | 95 | ||
96 | static inline unsigned long addrconf_timeout_fixup(u32 timeout, | 96 | static 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 | */ |
161 | extern int ipv6_sock_ac_join(struct sock *sk,int ifindex,struct in6_addr *addr); | 161 | extern int ipv6_sock_ac_join(struct sock *sk,int ifindex, const struct in6_addr *addr); |
162 | extern int ipv6_sock_ac_drop(struct sock *sk,int ifindex,struct in6_addr *addr); | 162 | extern int ipv6_sock_ac_drop(struct sock *sk,int ifindex, const struct in6_addr *addr); |
163 | extern void ipv6_sock_ac_close(struct sock *sk); | 163 | extern void ipv6_sock_ac_close(struct sock *sk); |
164 | extern int inet6_ac_check(struct sock *sk, struct in6_addr *addr, int ifindex); | 164 | extern int inet6_ac_check(struct sock *sk, const struct in6_addr *addr, int ifindex); |
165 | 165 | ||
166 | extern int ipv6_dev_ac_inc(struct net_device *dev, struct in6_addr *addr); | 166 | extern int ipv6_dev_ac_inc(struct net_device *dev, const struct in6_addr *addr); |
167 | extern int __ipv6_dev_ac_dec(struct inet6_dev *idev, struct in6_addr *addr); | 167 | extern int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr); |
168 | extern int ipv6_chk_acast_addr(struct net *net, struct net_device *dev, | 168 | extern 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 */ |