Home
last modified time | relevance | path

Searched refs:dev_set_promiscuity (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/net/hsr/
Dhsr_slave.c134 res = dev_set_promiscuity(dev, 1); in hsr_portdev_setup()
155 dev_set_promiscuity(dev, -1); in hsr_portdev_setup()
216 dev_set_promiscuity(port->dev, -1); in hsr_del_port()
/linux-6.1.9/net/openvswitch/
Dvport-netdev.c107 dev_set_promiscuity(vport->dev, 1); in ovs_netdev_link()
151 dev_set_promiscuity(vport->dev, -1); in ovs_netdev_detach_dev()
Dvport-internal_dev.c164 dev_set_promiscuity(vport->dev, 1); in internal_dev_create()
185 dev_set_promiscuity(vport->dev, -1); in internal_dev_destroy()
/linux-6.1.9/net/bridge/
Dbr_if.c108 err = dev_set_promiscuity(p->dev, 1); in br_port_set_promisc()
135 dev_set_promiscuity(p->dev, -1); in br_port_clear_promisc()
253 dev_set_promiscuity(p->dev, -1); in nbp_delete_promisc()
/linux-6.1.9/drivers/net/
Dmacvlan.c613 err = dev_set_promiscuity(lowerdev, 1); in macvlan_open()
648 err = dev_set_promiscuity(lowerdev, 1); in macvlan_open()
688 dev_set_promiscuity(lowerdev, -1); in macvlan_stop()
696 dev_set_promiscuity(lowerdev, -1); in macvlan_stop()
775 dev_set_promiscuity(lowerdev, in macvlan_change_rx_flags()
1594 err = dev_set_promiscuity(vlan->lowerdev, -1); in macvlan_changelink()
1596 err = dev_set_promiscuity(vlan->lowerdev, 1); in macvlan_changelink()
Dmacsec.c3517 err = dev_set_promiscuity(real_dev, 1); in macsec_dev_open()
3578 dev_set_promiscuity(real_dev, -1); in macsec_dev_stop()
3596 dev_set_promiscuity(real_dev, in macsec_dev_change_rx_flags()
/linux-6.1.9/net/8021q/
Dvlan_dev.c281 err = dev_set_promiscuity(real_dev, 1); in vlan_dev_open()
320 dev_set_promiscuity(real_dev, -1); in vlan_dev_stop()
481 dev_set_promiscuity(real_dev, dev->flags & IFF_PROMISC ? 1 : -1); in vlan_dev_change_rx_flags()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c769 ret = dev_set_promiscuity(priv->dev, 1); in stmmac_test_flowctrl()
814 dev_set_promiscuity(priv->dev, -1); in stmmac_test_flowctrl()
1662 ret = dev_set_promiscuity(priv->dev, 1); in stmmac_test_arpoffload()
1676 dev_set_promiscuity(priv->dev, -1); in stmmac_test_arpoffload()
/linux-6.1.9/drivers/net/bonding/
Dbond_alb.c366 if (!dev_set_promiscuity(curr_active->dev, 1)) in rlb_teach_disabled_mac_on_primary()
1600 dev_set_promiscuity(rtnl_dereference(bond->curr_active_slave)->dev, in bond_alb_monitor()
1726 dev_set_promiscuity(curr_active->dev, -1); in bond_alb_handle_active_change()
Dbond_main.c801 err = dev_set_promiscuity(curr_active->dev, inc); in bond_set_promiscuity()
806 err = dev_set_promiscuity(slave->dev, inc); in bond_set_promiscuity()
884 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
896 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap()
2153 res = dev_set_promiscuity(slave_dev, 1); in bond_enslave()
2163 dev_set_promiscuity(slave_dev, -1); in bond_enslave()
2441 dev_set_promiscuity(slave_dev, -1); in __bond_release_one()
/linux-6.1.9/net/dsa/
Dmaster.c285 dev_set_promiscuity(dev, inc); in dsa_master_set_promiscuity()
Dslave.c326 dev_set_promiscuity(master, in dsa_slave_change_rx_flags()
/linux-6.1.9/drivers/net/team/
Dteam.c1263 err = dev_set_promiscuity(port_dev, 1); in team_port_add()
1273 dev_set_promiscuity(port_dev, -1); in team_port_add()
1346 dev_set_promiscuity(port_dev, -1); in team_port_del()
1779 dev_set_promiscuity(port->dev, inc); in team_change_rx_flags()
/linux-6.1.9/drivers/net/hyperv/
Dnetvsc_drv.c72 dev_set_promiscuity(vf_netdev, inc); in netvsc_change_rx_flags()
/linux-6.1.9/include/linux/
Dnetdevice.h4626 int dev_set_promiscuity(struct net_device *dev, int inc);
/linux-6.1.9/net/core/
Ddev.c8369 int dev_set_promiscuity(struct net_device *dev, int inc) in dev_set_promiscuity() function
8381 EXPORT_SYMBOL(dev_set_promiscuity);
/linux-6.1.9/net/packet/
Daf_packet.c3617 return dev_set_promiscuity(dev, what); in packet_dev_mc()