Home
last modified time | relevance | path

Searched refs:IFF_PROMISC (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/linux-5.19.10/include/uapi/linux/
Dif.h93 IFF_PROMISC = 1<<8, /* sysfs */ enumerator
120 #define IFF_PROMISC IFF_PROMISC macro
/linux-5.19.10/net/8021q/
Dvlan_dev.c280 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/
Dfddi.c127 else if (dev->flags & IFF_PROMISC) in fddi_type_trans()
/linux-5.19.10/net/bridge/
Dbr_input.c53 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/
Dint51x1.c112 if (netdev->flags & IFF_PROMISC) { in int51x1_set_multicast()
/linux-5.19.10/net/bluetooth/bnep/
Dnetdev.c74 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in bnep_net_set_mc_list()
/linux-5.19.10/drivers/staging/octeon/
Dethernet.c307 (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/
Ddwmac100_core.c92 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
/linux-5.19.10/drivers/net/arcnet/
Drfc1051.c99 } else if (dev->flags & IFF_PROMISC) { in type_trans()
Dcom20020.c377 if ((dev->flags & IFF_PROMISC) && (dev->flags & IFF_UP)) { in com20020_set_mc_list()
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/
Datlx.c123 if (netdev->flags & IFF_PROMISC) in atlx_set_multi()
/linux-5.19.10/drivers/staging/wlan-ng/
Dp80211netdev.c875 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/
Dcommon.h74 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC)
/linux-5.19.10/drivers/net/
Dmacvlan.c647 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/
Dbmac.c942 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/
Dspl2sw_mac.c229 if (ndev->flags & IFF_PROMISC) { in spl2sw_mac_rx_mode_set()
/linux-5.19.10/drivers/net/ethernet/seeq/
Dether3.c284 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/
Dlib8390.c910 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/
Dfm10k_netdev.c854 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/
Dsc92031.c423 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/
Dmlxbf_gige_main.c223 new_promisc_enabled = netdev->flags & IFF_PROMISC; in mlxbf_gige_set_rx_mode()
/linux-5.19.10/drivers/net/ethernet/sgi/
Dmeth.c293 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/
D82596.c1449 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()
Dlib82596.c1359 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/
Den_fs.c413 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()

12345678910>>...12