/linux-5.19.10/include/uapi/linux/ |
D | if.h | 93 IFF_PROMISC = 1<<8, /* sysfs */ enumerator 120 #define IFF_PROMISC IFF_PROMISC macro
|
/linux-5.19.10/net/8021q/ |
D | vlan_dev.c | 280 if (dev->flags & IFF_PROMISC) { in vlan_dev_open() 319 if (dev->flags & IFF_PROMISC) in vlan_dev_stop() 480 if (change & IFF_PROMISC) in vlan_dev_change_rx_flags() 481 dev_set_promiscuity(real_dev, dev->flags & IFF_PROMISC ? 1 : -1); in vlan_dev_change_rx_flags() 560 dev->flags = real_dev->flags & ~(IFF_UP | IFF_PROMISC | IFF_ALLMULTI | in vlan_dev_init()
|
/linux-5.19.10/net/802/ |
D | fddi.c | 127 else if (dev->flags & IFF_PROMISC) in fddi_type_trans()
|
/linux-5.19.10/net/bridge/ |
D | br_input.c | 53 if (!(brdev->flags & IFF_PROMISC) && in br_pass_frame_up() 123 local_rcv = !!(br->dev->flags & IFF_PROMISC); in br_handle_frame_finish()
|
/linux-5.19.10/drivers/net/usb/ |
D | int51x1.c | 112 if (netdev->flags & IFF_PROMISC) { in int51x1_set_multicast()
|
/linux-5.19.10/net/bluetooth/bnep/ |
D | netdev.c | 74 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in bnep_net_set_mc_list()
|
/linux-5.19.10/drivers/staging/octeon/ |
D | ethernet.c | 307 (dev->flags & IFF_PROMISC)) in cvm_oct_common_set_multicast_list() 314 if (dev->flags & IFF_PROMISC) in cvm_oct_common_set_multicast_list() 331 if (dev->flags & IFF_PROMISC) in cvm_oct_common_set_multicast_list()
|
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac100_core.c | 92 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
|
/linux-5.19.10/drivers/net/arcnet/ |
D | rfc1051.c | 99 } else if (dev->flags & IFF_PROMISC) { in type_trans()
|
D | com20020.c | 377 if ((dev->flags & IFF_PROMISC) && (dev->flags & IFF_UP)) { in com20020_set_mc_list()
|
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 123 if (netdev->flags & IFF_PROMISC) in atlx_set_multi()
|
/linux-5.19.10/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 875 if ((wlandev->netdev->flags & IFF_PROMISC) || in p80211_rx_typedrop() 937 if ((wlandev->netdev->flags & IFF_PROMISC) || in p80211_rx_typedrop()
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 74 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC)
|
/linux-5.19.10/drivers/net/ |
D | macvlan.c | 647 if (dev->flags & IFF_PROMISC) { in macvlan_open() 695 if (dev->flags & IFF_PROMISC) in macvlan_stop() 774 if (change & IFF_PROMISC) in macvlan_change_rx_flags() 776 dev->flags & IFF_PROMISC ? 1 : -1); in macvlan_change_rx_flags() 785 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in macvlan_compute_filter()
|
/linux-5.19.10/drivers/net/ethernet/apple/ |
D | bmac.c | 942 bmac_rx_on(dev, 1, (dev->flags & IFF_PROMISC)? 1 : 0); 953 bmac_rx_on(dev, 1, (dev->flags & IFF_PROMISC)? 1 : 0); 981 } else if ((dev->flags & IFF_PROMISC) || (num_addrs < 0)) { in bmac_set_multicast() 1018 } else if(dev->flags & IFF_PROMISC) { in bmac_set_multicast()
|
/linux-5.19.10/drivers/net/ethernet/sunplus/ |
D | spl2sw_mac.c | 229 if (ndev->flags & IFF_PROMISC) { in spl2sw_mac_rx_mode_set()
|
/linux-5.19.10/drivers/net/ethernet/seeq/ |
D | ether3.c | 284 if (dev->flags & IFF_PROMISC) in ether3_init_2() 442 if (dev->flags & IFF_PROMISC) { in ether3_setmulticastlist()
|
/linux-5.19.10/drivers/net/ethernet/8390/ |
D | lib8390.c | 910 if (!(dev->flags&(IFF_PROMISC|IFF_ALLMULTI))) { in do_set_multicast_list() 943 if (dev->flags&IFF_PROMISC) in do_set_multicast_list()
|
/linux-5.19.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 854 if (!(netdev->flags & IFF_PROMISC)) { in fm10k_update_vid() 1047 xcast_mode = (dev->flags & IFF_PROMISC) ? FM10K_XCAST_MODE_PROMISC : in fm10k_set_rx_mode() 1093 if (netdev->flags & IFF_PROMISC) in fm10k_restore_rx_state()
|
/linux-5.19.10/drivers/net/ethernet/silan/ |
D | sc92031.c | 423 if ((dev->flags & IFF_PROMISC) || in _sc92031_set_mar() 464 if (dev->flags & IFF_PROMISC) in _sc92031_set_rx_config() 478 priv->mc_flags = dev->flags & (IFF_PROMISC | IFF_ALLMULTI in _sc92031_set_rx_config()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige_main.c | 223 new_promisc_enabled = netdev->flags & IFF_PROMISC; in mlxbf_gige_set_rx_mode()
|
/linux-5.19.10/drivers/net/ethernet/sgi/ |
D | meth.c | 293 if (dev->flags & IFF_PROMISC) in meth_reset() 786 if (dev->flags & IFF_PROMISC) { in meth_set_rx_mode()
|
/linux-5.19.10/drivers/net/ethernet/i825xx/ |
D | 82596.c | 1449 dev->flags & IFF_PROMISC ? "ON" : "OFF", in set_multicast_list() 1455 if ((dev->flags & IFF_PROMISC) && !(lp->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list() 1459 if (!(dev->flags & IFF_PROMISC) && (lp->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list()
|
D | lib82596.c | 1359 dev->flags & IFF_PROMISC ? "ON" : "OFF", in set_multicast_list() 1362 if ((dev->flags & IFF_PROMISC) && in set_multicast_list() 1367 if (!(dev->flags & IFF_PROMISC) && in set_multicast_list()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 413 if (priv->netdev->flags & IFF_PROMISC) in mlx5e_enable_cvlan_filter() 424 if (priv->netdev->flags & IFF_PROMISC) in mlx5e_disable_cvlan_filter() 791 bool promisc_enabled = rx_mode_enable && (ndev->flags & IFF_PROMISC); in mlx5e_set_rx_mode_work()
|