Home
last modified time | relevance | path

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

12345678910

/linux-2.6.39/net/dsa/
Dslave.c80 if (dev->flags & IFF_PROMISC) { in dsa_slave_open()
107 if (dev->flags & IFF_PROMISC) in dsa_slave_close()
123 if (change & IFF_PROMISC) in dsa_slave_change_rx_flags()
124 dev_set_promiscuity(master, dev->flags & IFF_PROMISC ? 1 : -1); in dsa_slave_change_rx_flags()
/linux-2.6.39/net/8021q/
Dvlan_dev.c459 if (dev->flags & IFF_PROMISC) { in vlan_dev_open()
494 if (dev->flags & IFF_PROMISC) in vlan_dev_stop()
646 if (change & IFF_PROMISC) in vlan_dev_change_rx_flags()
647 dev_set_promiscuity(real_dev, dev->flags & IFF_PROMISC ? 1 : -1); in vlan_dev_change_rx_flags()
697 dev->flags = real_dev->flags & ~(IFF_UP | IFF_PROMISC | IFF_ALLMULTI | in vlan_dev_init()
/linux-2.6.39/include/linux/
Dif.h39 #define IFF_PROMISC 0x100 /* receive all packets */ macro
/linux-2.6.39/drivers/staging/octeon/
Dethernet.c355 (dev->flags & IFF_PROMISC)) in cvm_oct_common_set_multicast_list()
362 if (dev->flags & IFF_PROMISC) in cvm_oct_common_set_multicast_list()
379 if (dev->flags & IFF_PROMISC) in cvm_oct_common_set_multicast_list()
/linux-2.6.39/drivers/net/
Deexpress.c1491 outw((dev->flags & IFF_PROMISC)?(i|1):(i & ~1), in eexp_hw_init586()
1493 lp->was_promisc = dev->flags & IFF_PROMISC; in eexp_hw_init586()
1614 if ((dev->flags & IFF_PROMISC) != lp->was_promisc) { in eexp_set_multicast()
1617 outw((dev->flags & IFF_PROMISC)?(i|1):(i & ~1), in eexp_set_multicast()
1619 lp->was_promisc = dev->flags & IFF_PROMISC; in eexp_set_multicast()
1622 if (!(dev->flags & IFF_PROMISC)) { in eexp_set_multicast()
Dks8851_mll.c1176 if ((netdev->flags & IFF_PROMISC) == IFF_PROMISC) in ks_set_rx_mode()
1178 (u16)((netdev->flags & IFF_PROMISC) == IFF_PROMISC)); in ks_set_rx_mode()
Dbmac.c949 bmac_rx_on(dev, 1, (dev->flags & IFF_PROMISC)? 1 : 0);
960 bmac_rx_on(dev, 1, (dev->flags & IFF_PROMISC)? 1 : 0);
988 } else if ((dev->flags & IFF_PROMISC) || (num_addrs < 0)) { in bmac_set_multicast()
1027 } else if(dev->flags & IFF_PROMISC) { in bmac_set_multicast()
Datp.c861 if (!netdev_mc_empty(dev) || (dev->flags & (IFF_ALLMULTI|IFF_PROMISC))) in set_rx_mode_8002()
875 if (dev->flags & IFF_PROMISC) { /* Set promiscuous. */ in set_rx_mode_8012()
Dlib8390.c932 if (!(dev->flags&(IFF_PROMISC|IFF_ALLMULTI))) in do_set_multicast_list()
967 if(dev->flags&IFF_PROMISC) in do_set_multicast_list()
Dmacb.c800 if (bp->dev->flags & IFF_PROMISC) in macb_init_hw()
915 if (dev->flags & IFF_PROMISC) in macb_set_rx_mode()
918 else if (dev->flags & (~IFF_PROMISC)) in macb_set_rx_mode()
/linux-2.6.39/net/802/
Dfddi.c157 else if (dev->flags & IFF_PROMISC) in fddi_type_trans()
/linux-2.6.39/net/bridge/
Dbr_input.c75 if (br->dev->flags & IFF_PROMISC) in br_handle_frame_finish()
/linux-2.6.39/net/irda/irlan/
Dirlan_eth.c321 if (dev->flags & IFF_PROMISC) { in irlan_eth_set_multicast_list()
/linux-2.6.39/drivers/net/stmmac/
Ddwmac100_core.c107 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
Ddwmac1000_core.c99 if (dev->flags & IFF_PROMISC) in dwmac1000_set_filter()
/linux-2.6.39/net/bluetooth/bnep/
Dnetdev.c83 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in bnep_net_set_mc_list()
/linux-2.6.39/drivers/net/arcnet/
Drfc1051.c102 else if (dev->flags & IFF_PROMISC) { in type_trans()
Dcom20020.c328 if ((dev->flags & IFF_PROMISC) && (dev->flags & IFF_UP)) { /* Enable promiscuous mode */ in com20020_set_mc_list()
/linux-2.6.39/drivers/net/atlx/
Datlx.c136 if (netdev->flags & IFF_PROMISC) in atlx_set_multi()
/linux-2.6.39/drivers/net/usb/
Dint51x1.c139 if (netdev->flags & IFF_PROMISC) { in int51x1_set_multicast()
/linux-2.6.39/drivers/net/chelsio/
Dcommon.h77 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC)
/linux-2.6.39/drivers/staging/wlan-ng/
Dp80211netdev.c967 if ((wlandev->netdev->flags & IFF_PROMISC) || in p80211_rx_typedrop()
1029 if ((wlandev->netdev->flags & IFF_PROMISC) || in p80211_rx_typedrop()
/linux-2.6.39/net/core/
Ddev.c4364 dev->flags |= IFF_PROMISC; in __dev_set_promiscuity()
4372 dev->flags &= ~IFF_PROMISC; in __dev_set_promiscuity()
4383 dev->name, (dev->flags & IFF_PROMISC) ? "entered" : in __dev_set_promiscuity()
4390 dev->name, (dev->flags & IFF_PROMISC), in __dev_set_promiscuity()
4391 (old_flags & IFF_PROMISC), in __dev_set_promiscuity()
4397 dev_change_rx_flags(dev, IFF_PROMISC); in __dev_set_promiscuity()
4524 flags = (dev->flags & ~(IFF_PROMISC | in dev_get_flags()
4529 (dev->gflags & (IFF_PROMISC | in dev_get_flags()
4559 (dev->flags & (IFF_UP | IFF_VOLATILE | IFF_PROMISC | in __dev_change_flags()
4585 if ((flags ^ dev->gflags) & IFF_PROMISC) { in __dev_change_flags()
[all …]
/linux-2.6.39/drivers/net/arm/
Dam79c961a.c227 if (dev->flags & IFF_PROMISC) in am79c961_init_for_open()
370 if (dev->flags & IFF_PROMISC) { in am79c961_setmulticastlist()
/linux-2.6.39/drivers/net/bonding/
Dbond_main.c924 if (bond->dev->flags & IFF_PROMISC) in bond_mc_swap()
936 if (bond->dev->flags & IFF_PROMISC) in bond_mc_swap()
1724 if (bond_dev->flags & IFF_PROMISC) { in bond_enslave()
2098 if (bond_dev->flags & IFF_PROMISC) in bond_release()
2215 if (bond_dev->flags & IFF_PROMISC) in bond_release_all()
3871 if ((bond_dev->flags & IFF_PROMISC) && !(bond->flags & IFF_PROMISC)) in bond_set_multicast_list()
3879 if (!(bond_dev->flags & IFF_PROMISC) && (bond->flags & IFF_PROMISC)) in bond_set_multicast_list()

12345678910