/linux/include/uapi/linux/ |
A D | if.h | 93 IFF_PROMISC = 1<<8, /* sysfs */ enumerator 120 #define IFF_PROMISC IFF_PROMISC macro
|
/linux/net/8021q/ |
A 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/net/bridge/ |
A D | br_input.c | 46 if (!(brdev->flags & IFF_PROMISC) && in br_pass_frame_up() 98 local_rcv = !!(br->dev->flags & IFF_PROMISC); in br_handle_frame_finish()
|
/linux/net/802/ |
A D | fddi.c | 127 else if (dev->flags & IFF_PROMISC) in fddi_type_trans()
|
/linux/drivers/staging/octeon/ |
A 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/drivers/net/usb/ |
A D | int51x1.c | 112 if (netdev->flags & IFF_PROMISC) { in int51x1_set_multicast()
|
/linux/net/bluetooth/bnep/ |
A D | netdev.c | 74 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in bnep_net_set_mc_list()
|
/linux/drivers/staging/wlan-ng/ |
A 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/drivers/net/arcnet/ |
A D | rfc1051.c | 99 } else if (dev->flags & IFF_PROMISC) { in type_trans()
|
A D | com20020.c | 377 if ((dev->flags & IFF_PROMISC) && (dev->flags & IFF_UP)) { in com20020_set_mc_list()
|
/linux/drivers/net/ethernet/atheros/atlx/ |
A D | atlx.c | 123 if (netdev->flags & IFF_PROMISC) in atlx_set_multi()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac100_core.c | 92 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
|
/linux/drivers/net/ |
A D | macvlan.c | 643 if (dev->flags & IFF_PROMISC) { in macvlan_open() 691 if (dev->flags & IFF_PROMISC) in macvlan_stop() 770 if (change & IFF_PROMISC) in macvlan_change_rx_flags() 772 dev->flags & IFF_PROMISC ? 1 : -1); in macvlan_change_rx_flags() 781 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in macvlan_compute_filter()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | common.h | 74 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC)
|
/linux/drivers/net/ethernet/apple/ |
A D | bmac.c | 943 bmac_rx_on(dev, 1, (dev->flags & IFF_PROMISC)? 1 : 0); 954 bmac_rx_on(dev, 1, (dev->flags & IFF_PROMISC)? 1 : 0); 982 } else if ((dev->flags & IFF_PROMISC) || (num_addrs < 0)) { in bmac_set_multicast() 1019 } else if(dev->flags & IFF_PROMISC) { in bmac_set_multicast()
|
/linux/drivers/staging/unisys/visornic/ |
A D | visornic_main.c | 1050 if ((netdev->flags & IFF_PROMISC) == in visornic_set_multi() 1051 (devdata->old_flags & IFF_PROMISC)) in visornic_set_multi() 1061 netdev->flags & IFF_PROMISC; in visornic_set_multi() 1330 if (netdev->flags & IFF_PROMISC) in visornic_rx()
|
/linux/drivers/net/ethernet/silan/ |
A 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/drivers/net/ethernet/intel/fm10k/ |
A 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/drivers/net/ethernet/8390/ |
A 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/drivers/net/ethernet/seeq/ |
A D | ether3.c | 284 if (dev->flags & IFF_PROMISC) in ether3_init_2() 442 if (dev->flags & IFF_PROMISC) { in ether3_setmulticastlist()
|
/linux/drivers/net/ethernet/sgi/ |
A D | meth.c | 293 if (dev->flags & IFF_PROMISC) in meth_reset() 786 if (dev->flags & IFF_PROMISC) { in meth_set_rx_mode()
|
/linux/drivers/net/ethernet/i825xx/ |
A D | 82596.c | 1448 dev->flags & IFF_PROMISC ? "ON" : "OFF", in set_multicast_list() 1454 if ((dev->flags & IFF_PROMISC) && !(lp->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list() 1458 if (!(dev->flags & IFF_PROMISC) && (lp->cf_cmd.i596_config[8] & 0x01)) { in set_multicast_list()
|
A 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/net/dsa/ |
A D | slave.c | 89 if (dev->flags & IFF_PROMISC) { in dsa_slave_open() 102 if (dev->flags & IFF_PROMISC) in dsa_slave_open() 125 if (dev->flags & IFF_PROMISC) in dsa_slave_close() 141 if (change & IFF_PROMISC) in dsa_slave_change_rx_flags() 143 dev->flags & IFF_PROMISC ? 1 : -1); in dsa_slave_change_rx_flags()
|
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
A D | mlxbf_gige_main.c | 223 new_promisc_enabled = netdev->flags & IFF_PROMISC; in mlxbf_gige_set_rx_mode()
|