/linux-2.6.39/net/dsa/ |
D | slave.c | 80 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/ |
D | vlan_dev.c | 459 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/ |
D | if.h | 39 #define IFF_PROMISC 0x100 /* receive all packets */ macro
|
/linux-2.6.39/drivers/staging/octeon/ |
D | ethernet.c | 355 (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/ |
D | eexpress.c | 1491 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()
|
D | ks8851_mll.c | 1176 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()
|
D | bmac.c | 949 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()
|
D | atp.c | 861 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()
|
D | lib8390.c | 932 if (!(dev->flags&(IFF_PROMISC|IFF_ALLMULTI))) in do_set_multicast_list() 967 if(dev->flags&IFF_PROMISC) in do_set_multicast_list()
|
D | macb.c | 800 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/ |
D | fddi.c | 157 else if (dev->flags & IFF_PROMISC) in fddi_type_trans()
|
/linux-2.6.39/net/bridge/ |
D | br_input.c | 75 if (br->dev->flags & IFF_PROMISC) in br_handle_frame_finish()
|
/linux-2.6.39/net/irda/irlan/ |
D | irlan_eth.c | 321 if (dev->flags & IFF_PROMISC) { in irlan_eth_set_multicast_list()
|
/linux-2.6.39/drivers/net/stmmac/ |
D | dwmac100_core.c | 107 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter()
|
D | dwmac1000_core.c | 99 if (dev->flags & IFF_PROMISC) in dwmac1000_set_filter()
|
/linux-2.6.39/net/bluetooth/bnep/ |
D | netdev.c | 83 if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { in bnep_net_set_mc_list()
|
/linux-2.6.39/drivers/net/arcnet/ |
D | rfc1051.c | 102 else if (dev->flags & IFF_PROMISC) { in type_trans()
|
D | com20020.c | 328 if ((dev->flags & IFF_PROMISC) && (dev->flags & IFF_UP)) { /* Enable promiscuous mode */ in com20020_set_mc_list()
|
/linux-2.6.39/drivers/net/atlx/ |
D | atlx.c | 136 if (netdev->flags & IFF_PROMISC) in atlx_set_multi()
|
/linux-2.6.39/drivers/net/usb/ |
D | int51x1.c | 139 if (netdev->flags & IFF_PROMISC) { in int51x1_set_multicast()
|
/linux-2.6.39/drivers/net/chelsio/ |
D | common.h | 77 #define t1_rx_mode_promisc(rm) (rm->dev->flags & IFF_PROMISC)
|
/linux-2.6.39/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 967 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/ |
D | dev.c | 4364 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/ |
D | am79c961a.c | 227 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/ |
D | bond_main.c | 924 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()
|