Home
last modified time | relevance | path

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

12345678910>>...12

/linux/include/uapi/linux/
A Dif.h93 IFF_PROMISC = 1<<8, /* sysfs */ enumerator
120 #define IFF_PROMISC IFF_PROMISC macro
/linux/net/8021q/
A 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/net/bridge/
A Dbr_input.c46 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 Dfddi.c127 else if (dev->flags & IFF_PROMISC) in fddi_type_trans()
/linux/drivers/staging/octeon/
A 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/drivers/net/usb/
A Dint51x1.c112 if (netdev->flags & IFF_PROMISC) { in int51x1_set_multicast()
/linux/net/bluetooth/bnep/
A Dnetdev.c74 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in bnep_net_set_mc_list()
/linux/drivers/staging/wlan-ng/
A Dp80211netdev.c875 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 Drfc1051.c99 } else if (dev->flags & IFF_PROMISC) { in type_trans()
A Dcom20020.c377 if ((dev->flags & IFF_PROMISC) && (dev->flags & IFF_UP)) { in com20020_set_mc_list()
/linux/drivers/net/ethernet/atheros/atlx/
A Datlx.c123 if (netdev->flags & IFF_PROMISC) in atlx_set_multi()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac100_core.c92 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
/linux/drivers/net/
A Dmacvlan.c643 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 Dcommon.h74 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC)
/linux/drivers/net/ethernet/apple/
A Dbmac.c943 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 Dvisornic_main.c1050 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 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/drivers/net/ethernet/intel/fm10k/
A 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/drivers/net/ethernet/8390/
A 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/drivers/net/ethernet/seeq/
A Dether3.c284 if (dev->flags & IFF_PROMISC) in ether3_init_2()
442 if (dev->flags & IFF_PROMISC) { in ether3_setmulticastlist()
/linux/drivers/net/ethernet/sgi/
A Dmeth.c293 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 D82596.c1448 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 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/net/dsa/
A Dslave.c89 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 Dmlxbf_gige_main.c223 new_promisc_enabled = netdev->flags & IFF_PROMISC; in mlxbf_gige_set_rx_mode()

Completed in 54 milliseconds

12345678910>>...12