/linux/include/uapi/linux/ |
H A D | if.h | 93 IFF_PROMISC = 1<<8, /* sysfs */ enumerator 120 #define IFF_PROMISC IFF_PROMISC macro
|
/linux/net/8021q/ |
H A D | vlan_dev.c | 281 if (dev->flags & IFF_PROMISC) { in vlan_dev_open() 320 if (dev->flags & IFF_PROMISC) in vlan_dev_stop() 496 if (change & IFF_PROMISC) in vlan_dev_change_rx_flags() 497 dev_set_promiscuity(real_dev, dev->flags & IFF_PROMISC ? 1 : -1); in vlan_dev_change_rx_flags() 554 dev->flags = real_dev->flags & ~(IFF_UP | IFF_PROMISC | IFF_ALLMULTI | in vlan_dev_init()
|
/linux/net/802/ |
H A D | fddi.c | 127 else if (dev->flags & IFF_PROMISC) in fddi_type_trans()
|
/linux/drivers/net/usb/ |
H A D | int51x1.c | 112 if (netdev->flags & IFF_PROMISC) { in int51x1_set_multicast()
|
H A D | sr9700.c | 278 if (netdev->flags & IFF_PROMISC) { in sr9700_set_multicast()
|
/linux/net/bluetooth/bnep/ |
H A D | netdev.c | 74 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in bnep_net_set_mc_list()
|
/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atlx.c | 123 if (netdev->flags & IFF_PROMISC) in atlx_set_multi()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac100_core.c | 84 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
|
/linux/drivers/net/arcnet/ |
H A D | rfc1051.c | 100 } else if (dev->flags & IFF_PROMISC) { in type_trans()
|
H A D | com20020.c | 377 if ((dev->flags & IFF_PROMISC) && (dev->flags & IFF_UP)) { in com20020_set_mc_list()
|
/linux/drivers/net/ |
H A D | macvlan.c | 657 if (dev->flags & IFF_PROMISC) { in macvlan_open() 705 if (dev->flags & IFF_PROMISC) in macvlan_stop() 784 if (!macvlan_passthru(vlan->port) && change & IFF_PROMISC) in macvlan_change_rx_flags() 786 dev->flags & IFF_PROMISC ? 1 : -1); in macvlan_change_rx_flags() 795 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in macvlan_compute_filter()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | common.h | 65 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC)
|
/linux/drivers/net/ethernet/apple/ |
H A 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/drivers/net/ethernet/silan/ |
H 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/ |
H 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/ |
H A D | lib8390.c | 909 if (!(dev->flags&(IFF_PROMISC|IFF_ALLMULTI))) { in do_set_multicast_list() 942 if (dev->flags&IFF_PROMISC) in do_set_multicast_list()
|
/linux/drivers/net/ethernet/seeq/ |
H 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/sunplus/ |
H A D | spl2sw_mac.c | 229 if (ndev->flags & IFF_PROMISC) { in spl2sw_mac_rx_mode_set()
|
/linux/drivers/net/ethernet/microchip/lan865x/ |
H A D | lan865x.c | 208 if (priv->netdev->flags & IFF_PROMISC) { in lan865x_multicast_work_handler()
|
/linux/drivers/net/ethernet/i825xx/ |
H 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()
|
H A D | lib82596.c | 1358 dev->flags & IFF_PROMISC ? "ON" : "OFF", in set_multicast_list() 1361 if ((dev->flags & IFF_PROMISC) && in set_multicast_list() 1366 if (!(dev->flags & IFF_PROMISC) && in set_multicast_list()
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_virtchnl.c | 968 if (!(netdev->flags & IFF_PROMISC) && in iavf_set_promiscuous() 975 adapter->current_netdev_promisc_flags &= ~IFF_PROMISC; in iavf_set_promiscuous() 977 } else if (!(netdev->flags & IFF_PROMISC) && in iavf_set_promiscuous() 984 ~(IFF_PROMISC | IFF_ALLMULTI); in iavf_set_promiscuous() 992 adapter->current_netdev_promisc_flags |= IFF_PROMISC; in iavf_set_promiscuous()
|
/linux/drivers/net/team/ |
H A D | team_core.c | 1276 if (dev->flags & IFF_PROMISC) { in team_port_add() 1286 if (dev->flags & IFF_PROMISC) in team_port_add() 1359 if (dev->flags & IFF_PROMISC) in team_port_del() 1782 if (change & IFF_PROMISC) { in team_change_rx_flags() 1783 inc = dev->flags & IFF_PROMISC ? 1 : -1; in team_change_rx_flags()
|
/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mac-fec.c | 214 if ((dev->flags & IFF_PROMISC) == 0) { in set_multicast_list()
|
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_main.c | 239 new_promisc_enabled = netdev->flags & IFF_PROMISC; in mlxbf_gige_set_rx_mode()
|