Home
last modified time | relevance | path

Searched refs:promisc (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v5.4/arch/um/drivers/
Dpcap_kern.c13 int promisc; member
27 ppri->promisc = init->promisc; in pcap_init()
61 .promisc = 1, in pcap_setup()
80 init->promisc = 1; in pcap_setup()
82 init->promisc = 0; in pcap_setup()
Dpcap_user.h10 int promisc; member
Dpcap_user.c23 pri->promisc, 0, errors); in pcap_user_init()
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Denic_dev.c79 int broadcast, int promisc, int allmulti) in enic_dev_packet_filter() argument
85 multicast, broadcast, promisc, allmulti); in enic_dev_packet_filter()
Denic_dev.h47 int broadcast, int promisc, int allmulti);
Dvnic_dev.h138 int broadcast, int promisc, int allmulti);
/Linux-v5.4/drivers/net/ethernet/wiznet/
Dw5300.c98 bool promisc; member
263 w5300_write(priv, W5300_S0_MR, priv->promisc ? in w5300_hw_start()
462 if (priv->promisc != set_promisc) { in w5300_set_rx_mode()
463 priv->promisc = set_promisc; in w5300_set_rx_mode()
Dw5100.c164 bool promisc; member
700 if (!priv->promisc) { in w5100_hw_start()
976 if (priv->promisc != set_promisc) { in w5100_set_rx_mode()
977 priv->promisc = set_promisc; in w5100_set_rx_mode()
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dmac.h61 bool promisc; member
/Linux-v5.4/drivers/net/wireless/intersil/orinoco/
Dhw.h46 int mc_count, int promisc);
Dhw.c1069 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument
1074 if (promisc != priv->promiscuous) { in __orinoco_hw_set_multicast_list()
1077 promisc); in __orinoco_hw_set_multicast_list()
1082 priv->promiscuous = promisc; in __orinoco_hw_set_multicast_list()
1088 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list()
/Linux-v5.4/drivers/net/ethernet/i825xx/
Dsun3_82586.h238 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member
Dsun3_82586.c431 cfg_cmd->promisc = 0; in init586()
436 cfg_cmd->promisc = 1; in init586()
440 cfg_cmd->promisc = 1; in init586()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dport.c1346 u32 promisc; in mlx4_common_set_port() local
1376 promisc = be32_to_cpu(qpn_context->promisc) >> in mlx4_common_set_port()
1378 qpn_context->promisc = cpu_to_be32( in mlx4_common_set_port()
1379 promisc << SET_PORT_PROMISC_SHIFT | in mlx4_common_set_port()
1381 promisc = be32_to_cpu(qpn_context->mcast) >> in mlx4_common_set_port()
1384 promisc << SET_PORT_MC_PROMISC_SHIFT | in mlx4_common_set_port()
1643 u8 promisc) in mlx4_SET_PORT_qpn_calc() argument
1661 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | in mlx4_SET_PORT_qpn_calc()
/Linux-v5.4/drivers/scsi/fnic/
Dvnic_dev.h136 int broadcast, int promisc, int allmulti);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h57 struct mlx5e_l2_rule promisc; member
/Linux-v5.4/drivers/net/ethernet/ti/
Dnetcp.h209 int (*set_rx_mode)(void *intf_priv, bool promisc);
Dnetcp_core.c1498 static int netcp_set_promiscuous(struct netcp_intf *netcp, bool promisc) in netcp_set_promiscuous() argument
1509 error = module->set_rx_mode(priv->module_priv, promisc); in netcp_set_promiscuous()
1520 bool promisc; in netcp_set_rx_mode() local
1522 promisc = (ndev->flags & IFF_PROMISC || in netcp_set_rx_mode()
1539 if (promisc) in netcp_set_rx_mode()
1545 netcp_set_promiscuous(netcp, promisc); in netcp_set_rx_mode()
/Linux-v5.4/drivers/staging/wlan-ng/
Dprism2sta.c926 u16 promisc; in prism2sta_setmulticast() local
933 promisc = P80211ENUM_truth_true; in prism2sta_setmulticast()
935 promisc = P80211ENUM_truth_false; in prism2sta_setmulticast()
939 promisc); in prism2sta_setmulticast()
/Linux-v5.4/drivers/net/ethernet/alteon/
Dacenic.c2261 ap->promisc = 1; in ace_open()
2263 ap->promisc = 0; in ace_open()
2299 if (ap->promisc) { in ace_close()
2304 ap->promisc = 0; in ace_close()
2763 if ((dev->flags & IFF_PROMISC) && !(ap->promisc)) { in ace_set_multicast_list()
2768 ap->promisc = 1; in ace_set_multicast_list()
2769 }else if (!(dev->flags & IFF_PROMISC) && (ap->promisc)) { in ace_set_multicast_list()
2774 ap->promisc = 0; in ace_set_multicast_list()
/Linux-v5.4/drivers/net/wireless/
Dray_cs.c1789 UCHAR promisc; in set_multicast_list() local
1797 promisc = 1; in set_multicast_list()
1799 &promisc, sizeof(promisc)); in set_multicast_list()
1805 promisc = 0; in set_multicast_list()
1807 &promisc, sizeof(promisc)); in set_multicast_list()
/Linux-v5.4/drivers/net/ethernet/ibm/ehea/
Dehea.h440 int promisc; /* Indicates IFF_PROMISC state */ member
/Linux-v5.4/drivers/net/wireless/atmel/
Dat76c50x-usb.h404 int promisc; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c843 bool promisc, bool mc_promisc) in esw_apply_vport_rx_mode() argument
848 goto promisc; in esw_apply_vport_rx_mode()
863 goto promisc; in esw_apply_vport_rx_mode()
870 promisc: in esw_apply_vport_rx_mode()
871 if (IS_ERR_OR_NULL(vport->promisc_rule) != promisc) in esw_apply_vport_rx_mode()
874 if (promisc) { in esw_apply_vport_rx_mode()
/Linux-v5.4/Documentation/networking/device_drivers/intel/
Di40e.rst93 #ip link set eth2 promisc on
100 NOTE: By default, the ethtool priv-flag vf-true-promisc-support is set to
105 #ethtool -set-priv-flags p261p1 vf-true-promisc-support on
107 The vf-true-promisc-support priv-flag does not enable promiscuous mode; rather,
111 vf-true-promisc-support priv-flag is only exposed to the first PF of the
113 regardless of the vf-true-promisc-support setting.

123