• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/bonding/

Lines Matching refs:curr_active_slave

789 		if (bond->curr_active_slave) {
790 err = dev_set_promiscuity(bond->curr_active_slave->dev,
813 if (bond->curr_active_slave) {
814 err = dev_set_allmulti(bond->curr_active_slave->dev,
837 if (bond->curr_active_slave)
838 dev_mc_add(bond->curr_active_slave->dev, addr);
856 if (bond->curr_active_slave)
857 dev_mc_del(bond->curr_active_slave->dev, addr);
1029 struct slave *curr = bond->curr_active_slave;
1059 new_active = bond->curr_active_slave;
1099 * curr_active_slave.
1111 struct slave *old_active = bond->curr_active_slave;
1152 bond->curr_active_slave = new_active;
1182 /* resend IGMP joins since all were sent on curr_active_slave */
1193 * - The old curr_active_slave has been released or lost its link.
1195 * - A slave has got its link back and there's no old curr_active_slave.
1205 if (best_slave != bond->curr_active_slave) {
1603 * curr_active_slave, and that is taken care of later when calling
1750 /* In trunking mode there is little meaning to curr_active_slave
1754 if (!bond->curr_active_slave)
1755 bond->curr_active_slave = new_slave;
1826 * It is legal to access curr_active_slave without a lock because all the function
1883 oldcurrent = bond->curr_active_slave;
1900 * detached from the list and the curr_active_slave
1958 * promisc and mc settings if it was the curr_active_slave, but that was
2082 * promisc and mc settings if it was the curr_active_slave, but that was
2172 old_active = bond->curr_active_slave;
2247 ignore_updelay = !bond->curr_active_slave ? true : false;
2377 if (!bond->curr_active_slave ||
2404 if (slave == bond->curr_active_slave)
2633 struct slave *slave = bond->curr_active_slave;
2783 oldcurrent = bond->curr_active_slave;
2787 * xmt and rcv traffic). the curr_active_slave does not come into
2810 * curr_active_slave being null after enslaving
2925 * the curr_active_slave went down and we are
2927 * we only take the curr_active_slave down - this
2983 if ((!bond->curr_active_slave &&
2987 bond->curr_active_slave != slave) {
2994 if (!bond->curr_active_slave ||
3012 if (slave == bond->curr_active_slave) {
3048 if (bond->current_arp_slave && bond->curr_active_slave)
3051 bond->curr_active_slave->dev->name);
3053 if (bond->curr_active_slave) {
3054 bond_arp_send_all(bond, bond->curr_active_slave);
3061 /* if we don't have a curr_active_slave, search for the next available
3063 * for becoming the curr_active_slave
3213 curr = bond->curr_active_slave;
4253 * Start with the curr_active_slave that joined the bond as the
4256 * send the join/membership reports. The curr_active_slave found
4263 slave = bond->curr_active_slave;
4304 * in active-backup mode, we know that bond->curr_active_slave is always valid if
4318 if (!bond->curr_active_slave)
4321 res = bond_dev_queue_xmit(bond, skb, bond->curr_active_slave->dev);
4396 start_at = bond->curr_active_slave;