mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
ipv6: clean up ipv6_dev_ac_inc()
Make it accept inet6_dev, and rename it to __ipv6_dev_ac_inc() to reflect this change. Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b03a9c04a3
commit
013b4d9038
3 changed files with 6 additions and 11 deletions
|
@ -202,7 +202,7 @@ int ipv6_sock_ac_drop(struct sock *sk, int ifindex,
|
|||
const struct in6_addr *addr);
|
||||
void ipv6_sock_ac_close(struct sock *sk);
|
||||
|
||||
int ipv6_dev_ac_inc(struct net_device *dev, const struct in6_addr *addr);
|
||||
int __ipv6_dev_ac_inc(struct inet6_dev *idev, const struct in6_addr *addr);
|
||||
int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr);
|
||||
bool ipv6_chk_acast_addr(struct net *net, struct net_device *dev,
|
||||
const struct in6_addr *addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue