Lines Matching refs:master
63 struct net_device *master = p->parent->dst->master_netdev;
66 if (!(master->flags & IFF_UP))
69 if (compare_ether_addr(dev->dev_addr, master->dev_addr)) {
70 err = dev_uc_add(master, dev->dev_addr);
76 err = dev_set_allmulti(master, 1);
81 err = dev_set_promiscuity(master, 1);
90 dev_set_allmulti(master, -1);
92 if (compare_ether_addr(dev->dev_addr, master->dev_addr))
93 dev_uc_del(master, dev->dev_addr);
101 struct net_device *master = p->parent->dst->master_netdev;
103 dev_mc_unsync(master, dev);
104 dev_uc_unsync(master, dev);
106 dev_set_allmulti(master, -1);
108 dev_set_promiscuity(master, -1);
110 if (compare_ether_addr(dev->dev_addr, master->dev_addr))
111 dev_uc_del(master, dev->dev_addr);
119 struct net_device *master = p->parent->dst->master_netdev;
122 dev_set_allmulti(master, dev->flags & IFF_ALLMULTI ? 1 : -1);
124 dev_set_promiscuity(master, dev->flags & IFF_PROMISC ? 1 : -1);
130 struct net_device *master = p->parent->dst->master_netdev;
132 dev_mc_sync(master, dev);
133 dev_uc_sync(master, dev);
139 struct net_device *master = p->parent->dst->master_netdev;
149 if (compare_ether_addr(addr->sa_data, master->dev_addr)) {
150 err = dev_uc_add(master, addr->sa_data);
155 if (compare_ether_addr(dev->dev_addr, master->dev_addr))
156 dev_uc_del(master, dev->dev_addr);
342 struct net_device *master = ds->dst->master_netdev;
352 slave_dev->features = master->vlan_features;
354 memcpy(slave_dev->dev_addr, master->dev_addr, ETH_ALEN);
378 slave_dev->vlan_features = master->vlan_features;
389 master->name, ret, slave_dev->name);