Lines Matching refs:master
39 * - No longer set the MAC address of the master. The bond device will
48 * - If the master does not have a hardware address when the first slave
49 * is enslaved, the master is assigned the hardware address of that
63 * In addition, block possibility of enslaving before the master is up.
83 * - Fixed problem with routes vanishing from master during enslave
90 * Also, master was not set down and the default set_mac_address()
92 * - For opt_c: slave should not be set to the master's setting
127 struct dev_data master;
133 #define master (G.master )
271 "master %s, slave %s: can't "
295 * address, so get the IP setting from the master.
310 if (master.mtu.ifr_mtu != slave.mtu.ifr_mtu) {
311 res = set_mtu(slave_ifname, master.mtu.ifr_mtu);
327 if (set_hwaddr(slave_ifname, &(master.hwaddr.ifr_hwaddr))) {
345 /* No hwaddr for master yet, so
349 /* For old ABI, the master needs to be
352 if (set_if_down(master_ifname, master.flags.ifr_flags))
363 /* For old ABI, bring the master
366 if (set_if_up(master_ifname, master.flags.ifr_flags))
385 set_hwaddr(master_ifname, &(master.hwaddr.ifr_hwaddr));
505 if (get_if_settings(master_ifname, &master)) {
510 /* Check if master is indeed a master;
513 if (!(master.flags.ifr_flags & IFF_MASTER))
514 bb_error_msg_and_die("%s is not a master", master_ifname);
516 /* Check if master is up; if not then fail any operation */
517 if (!(master.flags.ifr_flags & IFF_UP))
525 if (master.hwaddr.ifr_hwaddr.sa_family != 1) {
548 /* Detach a slave interface from the master */
566 /* Attach a slave interface to the master */