Searched refs:promisc (Results 1 - 25 of 34) sorted by relevance

12

/drivers/net/ethernet/cisco/enic/
H A Denic_dev.h47 int broadcast, int promisc, int allmulti);
H A Denic_dev.c79 int broadcast, int promisc, int allmulti)
85 multicast, broadcast, promisc, allmulti);
78 enic_dev_packet_filter(struct enic *enic, int directed, int multicast, int broadcast, int promisc, int allmulti) argument
H A Dvnic_dev.h97 int broadcast, int promisc, int allmulti);
H A Dvnic_dev.c639 int broadcast, int promisc, int allmulti)
648 (promisc ? CMD_PFILTER_PROMISCUOUS : 0) |
638 vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, int broadcast, int promisc, int allmulti) argument
H A Denic_main.c741 int promisc = (netdev->flags & IFF_PROMISC) || local
747 (promisc ? IFF_PROMISC : 0);
752 multicast, broadcast, promisc, allmulti);
755 if (!promisc) {
/drivers/net/wireless/orinoco/
H A Dhw.h46 int mc_count, int promisc);
H A Dhw.c1069 int mc_count, int promisc)
1074 if (promisc != priv->promiscuous) {
1077 promisc);
1082 priv->promiscuous = promisc;
1088 if (!promisc && (mc_count || priv->mc_count)) {
1067 __orinoco_hw_set_multicast_list(struct orinoco_private *priv, struct net_device *dev, int mc_count, int promisc) argument
H A Dmain.c1717 int promisc, mc_count; local
1723 promisc = 1;
1726 promisc = 0;
1730 err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc);
/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c699 u32 promisc; local
728 promisc = be32_to_cpu(qpn_context->promisc) >>
730 qpn_context->promisc = cpu_to_be32(
731 promisc << SET_PORT_PROMISC_SHIFT |
733 promisc = be32_to_cpu(qpn_context->mcast) >>
736 promisc << SET_PORT_MC_PROMISC_SHIFT |
987 u8 promisc)
1005 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIF
986 mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, u8 promisc) argument
[all...]
/drivers/net/ethernet/i825xx/
H A Dsun3_82586.h238 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member in struct:configure_cmd_struct
H A Dsun3_82586.c431 cfg_cmd->promisc = 0;
435 printk("%s: switching to promisc. mode\n",dev->name);
436 cfg_cmd->promisc = 1;
440 cfg_cmd->promisc = 1;
/drivers/net/ethernet/wiznet/
H A Dw5300.c100 bool promisc; member in struct:w5300_priv
273 w5300_write(priv, W5300_S0_MR, priv->promisc ?
479 if (priv->promisc != set_promisc) {
480 priv->promisc = set_promisc;
H A Dw5100.c104 bool promisc; member in struct:w5100_priv
355 w5100_write(priv, W5100_S0_MR, priv->promisc ?
559 if (priv->promisc != set_promisc) {
560 priv->promisc = set_promisc;
/drivers/scsi/fnic/
H A Dvnic_dev.h134 int broadcast, int promisc, int allmulti);
H A Dvnic_dev.c473 int broadcast, int promisc, int allmulti)
482 (promisc ? CMD_PFILTER_PROMISCUOUS : 0) |
472 vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, int broadcast, int promisc, int allmulti) argument
/drivers/net/ethernet/alteon/
H A Dacenic.c2263 ap->promisc = 1;
2265 ap->promisc = 0;
2301 if (ap->promisc) {
2306 ap->promisc = 0;
2765 if ((dev->flags & IFF_PROMISC) && !(ap->promisc)) {
2770 ap->promisc = 1;
2771 }else if (!(dev->flags & IFF_PROMISC) && (ap->promisc)) {
2776 ap->promisc = 0;
H A Dacenic.h641 int promisc, mcast_all; member in struct:ace_private
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c988 * @promisc: 1 to enable promiscuous mode, 0 to disable it, -1 no change
997 int mtu, int promisc, int all_multi, int bcast, int vlanex,
1005 if (promisc < 0)
1006 promisc = FW_VI_RXMODE_CMD_PROMISCEN_MASK;
1022 FW_VI_RXMODE_CMD_PROMISCEN(promisc) |
996 t4vf_set_rxmode(struct adapter *adapter, unsigned int viid, int mtu, int promisc, int all_multi, int bcast, int vlanex, bool sleep_ok) argument
/drivers/net/ethernet/ibm/ehea/
H A Dehea.h454 int promisc; /* Indicates IFF_PROMISC state */ member in struct:ehea_port
/drivers/net/wireless/
H A Dat76c50x-usb.h408 int promisc; member in struct:at76_priv
H A Dray_cs.c1803 UCHAR promisc; local
1809 pr_debug("ray_cs set_multicast_list promisc on\n");
1811 promisc = 1;
1813 &promisc, sizeof(promisc));
1817 pr_debug("ray_cs set_multicast_list promisc off\n");
1819 promisc = 0;
1821 &promisc, sizeof(promisc));
H A Dat76c50x-usb.c1486 priv->mib_buf.data.byte = priv->promisc ? 1 : 0;
2080 /* FIXME: access to priv->promisc should be protected with
2084 if (flags && !priv->promisc) {
2086 priv->promisc = 1;
2087 } else if (!flags && priv->promisc) {
2089 priv->promisc = 0;
/drivers/staging/wlan-ng/
H A Dprism2sta.c918 u16 promisc; local
925 promisc = P80211ENUM_truth_true;
927 promisc = P80211ENUM_truth_false;
931 promisc);
/drivers/net/
H A Dvirtio_net.c1151 u8 promisc, allmulti; local
1163 promisc = ((dev->flags & IFF_PROMISC) != 0);
1166 sg_init_one(sg, &promisc, sizeof(promisc));
1170 dev_warn(&dev->dev, "Failed to %sable promisc mode.\n",
1171 promisc ? "en" : "dis");
/drivers/staging/rtl8192u/
H A Dr8192U_core.c763 DMESG("NIC in promisc mode");
2135 priv->promisc = (dev->flags & IFF_PROMISC) ? 1 : 0;
3420 short promisc; local
3424 promisc = (dev->flags & IFF_PROMISC) ? 1 : 0;
3426 if (promisc != priv->promisc)
3428 priv->promisc = promisc;

Completed in 2663 milliseconds

12