Searched refs:dev_set_promiscuity (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/net/hsr/
H A Dhsr_slave.c106 res = dev_set_promiscuity(dev, 1); hsr_portdev_setup()
123 dev_set_promiscuity(dev, -1); hsr_portdev_setup()
189 dev_set_promiscuity(port->dev, -1); hsr_del_port()
/linux-4.4.14/net/openvswitch/
H A Dvport-netdev.c118 dev_set_promiscuity(vport->dev, 1); ovs_netdev_link()
163 dev_set_promiscuity(vport->dev, -1); ovs_netdev_detach_dev()
H A Dvport-internal_dev.c216 dev_set_promiscuity(vport->dev, 1); internal_dev_create()
237 dev_set_promiscuity(vport->dev, -1); internal_dev_destroy()
/linux-4.4.14/drivers/net/
H A Dmacvlan.c570 err = dev_set_promiscuity(lowerdev, 1); macvlan_open()
605 err = dev_set_promiscuity(lowerdev, 1); macvlan_open()
644 dev_set_promiscuity(lowerdev, -1); macvlan_stop()
652 dev_set_promiscuity(lowerdev, -1); macvlan_stop()
713 dev_set_promiscuity(lowerdev, macvlan_change_rx_flags()
1387 err = dev_set_promiscuity(vlan->lowerdev, -1); macvlan_changelink()
1389 err = dev_set_promiscuity(vlan->lowerdev, 1); macvlan_changelink()
/linux-4.4.14/net/bridge/
H A Dbr_if.c96 err = dev_set_promiscuity(p->dev, 1); br_port_set_promisc()
123 dev_set_promiscuity(p->dev, -1); br_port_clear_promisc()
189 dev_set_promiscuity(p->dev, -1); nbp_delete_promisc()
/linux-4.4.14/net/8021q/
H A Dvlan_dev.c269 err = dev_set_promiscuity(real_dev, 1); vlan_dev_open()
307 dev_set_promiscuity(real_dev, -1); vlan_dev_stop()
462 dev_set_promiscuity(real_dev, dev->flags & IFF_PROMISC ? 1 : -1); vlan_dev_change_rx_flags()
/linux-4.4.14/net/dsa/
H A Dslave.c95 err = dev_set_promiscuity(master, 1); dsa_slave_open()
116 dev_set_promiscuity(master, -1); dsa_slave_open()
141 dev_set_promiscuity(master, -1); dsa_slave_close()
163 dev_set_promiscuity(master, dev->flags & IFF_PROMISC ? 1 : -1); dsa_slave_change_rx_flags()
/linux-4.4.14/drivers/net/bonding/
H A Dbond_alb.c393 if (!dev_set_promiscuity(curr_active->dev, 1)) rlb_teach_disabled_mac_on_primary()
1515 /* dev_set_promiscuity requires rtnl and
1528 dev_set_promiscuity(rtnl_dereference(bond->curr_active_slave)->dev,
1651 dev_set_promiscuity(curr_active->dev, -1); bond_alb_handle_active_change()
H A Dbond_main.c503 err = dev_set_promiscuity(curr_active->dev, inc); bond_set_promiscuity()
508 err = dev_set_promiscuity(slave->dev, inc); bond_for_each_slave()
590 dev_set_promiscuity(old_active->dev, -1); bond_hw_addr_swap()
601 dev_set_promiscuity(new_active->dev, 1); bond_hw_addr_swap()
1498 res = dev_set_promiscuity(slave_dev, 1); bond_enslave()
1900 dev_set_promiscuity(slave_dev, -1); __bond_release_one()
/linux-4.4.14/net/core/
H A Ddev.c5753 * dev_set_promiscuity - update promiscuity count on a device
5763 int dev_set_promiscuity(struct net_device *dev, int inc) dev_set_promiscuity() function
5775 EXPORT_SYMBOL(dev_set_promiscuity); variable
/linux-4.4.14/drivers/net/team/
H A Dteam.c1706 dev_set_promiscuity(port->dev, inc); team_change_rx_flags()
/linux-4.4.14/include/linux/
H A Dnetdevice.h3548 int dev_set_promiscuity(struct net_device *dev, int inc);
/linux-4.4.14/net/packet/
H A Daf_packet.c3367 return dev_set_promiscuity(dev, what); packet_dev_mc()

Completed in 445 milliseconds