Lines Matching refs:targets
2939 __be32 *targets = bond->params.arp_targets, addr; in bond_arp_send_all() local
2942 for (i = 0; i < BOND_MAX_ARP_TARGETS && targets[i]; i++) { in bond_arp_send_all()
2944 __func__, &targets[i]); in bond_arp_send_all()
2948 rt = ip_route_output(dev_net(bond->dev), targets[i], 0, in bond_arp_send_all()
2957 &targets[i]); in bond_arp_send_all()
2958 bond_arp_send(slave, ARPOP_REQUEST, targets[i], in bond_arp_send_all()
2976 &targets[i], rt->dst.dev ? rt->dst.dev->name : "NULL"); in bond_arp_send_all()
2982 addr = bond_confirm_addr(rt->dst.dev, targets[i], 0); in bond_arp_send_all()
2984 bond_arp_send(slave, ARPOP_REQUEST, targets[i], addr, tags); in bond_arp_send_all()
3116 struct in6_addr *targets = bond->params.ns_targets; in bond_ns_send_all() local
3123 for (i = 0; i < BOND_MAX_NS_TARGETS && !ipv6_addr_any(&targets[i]); i++) { in bond_ns_send_all()
3125 __func__, &targets[i]); in bond_ns_send_all()
3130 fl6.daddr = targets[i]; in bond_ns_send_all()
3142 &targets[i]); in bond_ns_send_all()
3143 bond_ns_send(slave, &targets[i], &in6addr_any, tags); in bond_ns_send_all()
3160 &targets[i], dst->dev ? dst->dev->name : "NULL"); in bond_ns_send_all()
3166 if (!ipv6_dev_get_saddr(dev_net(dst->dev), dst->dev, &targets[i], 0, &saddr)) in bond_ns_send_all()
3167 bond_ns_send(slave, &targets[i], &saddr, tags); in bond_ns_send_all()
3169 bond_ns_send(slave, &targets[i], &in6addr_any, tags); in bond_ns_send_all()