/openbmc/linux/arch/um/drivers/ |
H A D | pcap_kern.c | 13 int promisc; member 27 ppri->promisc = init->promisc; in pcap_init_kern() 61 .promisc = 1, in pcap_setup() 80 init->promisc = 1; in pcap_setup() 82 init->promisc = 0; in pcap_setup()
|
H A D | pcap_user.h | 10 int promisc; member
|
H A D | pcap_user.c | 23 pri->promisc, 0, errors); in pcap_user_init()
|
/openbmc/linux/net/bridge/ |
H A D | br_input.c | 33 static int br_pass_frame_up(struct sk_buff *skb, bool promisc) in br_pass_frame_up() argument 68 BR_INPUT_SKB_CB(skb)->promisc = promisc; in br_pass_frame_up() 87 bool promisc; in br_handle_frame_finish() local 143 promisc = !!(br->dev->flags & IFF_PROMISC); in br_handle_frame_finish() 144 local_rcv = promisc; in br_handle_frame_finish() 221 return br_pass_frame_up(skb, promisc); in br_handle_frame_finish() 394 BR_INPUT_SKB_CB(skb)->promisc = false; in br_handle_frame()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs.c | 57 struct mlx5e_promisc_table promisc; member 438 void mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc) in mlx5e_enable_cvlan_filter() argument 444 if (promisc) in mlx5e_enable_cvlan_filter() 449 void mlx5e_disable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc) in mlx5e_disable_cvlan_filter() argument 455 if (promisc) in mlx5e_disable_cvlan_filter() 746 struct mlx5_flow_table *ft = fs->promisc.ft.t; in mlx5e_add_promisc_rule() 759 rule_p = &fs->promisc.rule; in mlx5e_add_promisc_rule() 772 struct mlx5e_flow_table *ft = &fs->promisc.ft; in mlx5e_create_promisc_table() 804 if (WARN(!fs->promisc.rule, "Trying to remove non-existing promiscuous rule")) in mlx5e_del_promisc_rule() 806 mlx5_del_flow_rules(fs->promisc.rule); in mlx5e_del_promisc_rule() [all …]
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.c | 64 int broadcast, int promisc, int allmulti) in enic_dev_packet_filter() argument 70 multicast, broadcast, promisc, allmulti); in enic_dev_packet_filter()
|
H A D | enic_dev.h | 32 int broadcast, int promisc, int allmulti);
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | nf_conntrack_bridge.c | 297 bool promisc = BR_INPUT_SKB_CB(skb)->promisc; in nf_ct_bridge_in() local 301 if (promisc) { in nf_ct_bridge_in()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_hash.c | 1192 bool promisc; in __rvu_npc_exact_cmd_rules_cnt_update() local 1195 promisc = table->promisc_mode[drop_mcam_idx]; in __rvu_npc_exact_cmd_rules_cnt_update() 1207 if (promisc) in __rvu_npc_exact_cmd_rules_cnt_update() 1471 bool *promisc; in rvu_npc_exact_promisc_disable() local 1486 promisc = &table->promisc_mode[drop_mcam_idx]; in rvu_npc_exact_promisc_disable() 1488 if (!*promisc) { in rvu_npc_exact_promisc_disable() 1494 *promisc = false; in rvu_npc_exact_promisc_disable() 1518 bool *promisc; in rvu_npc_exact_promisc_enable() local 1533 promisc = &table->promisc_mode[drop_mcam_idx]; in rvu_npc_exact_promisc_enable() 1535 if (*promisc) { in rvu_npc_exact_promisc_enable() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | fs.h | 137 void mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc); 138 void mlx5e_disable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc);
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 431 bool promisc) in hw_atl2_hw_new_rx_filter_vlan_promisc() argument 433 u16 off_action = (!promisc && in hw_atl2_hw_new_rx_filter_vlan_promisc() 445 static void hw_atl2_hw_new_rx_filter_promisc(struct aq_hw_s *self, bool promisc) in hw_atl2_hw_new_rx_filter_promisc() argument 447 u16 off_action = promisc ? HW_ATL2_ACTION_DISABLE : HW_ATL2_ACTION_DROP; in hw_atl2_hw_new_rx_filter_promisc() 460 hw_atl2_hw_new_rx_filter_vlan_promisc(self, promisc | in hw_atl2_hw_new_rx_filter_promisc()
|
/openbmc/linux/drivers/net/ethernet/wiznet/ |
H A D | w5300.c | 98 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()
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | local_termination.sh | 120 ip link set dev $rcv_if_name promisc on 124 ip link set dev $rcv_if_name promisc off
|
H A D | lib.sh | 1295 ip link set $host1_if promisc on 1345 ip link set $host1_if promisc off 1363 ip link set $host2_if promisc on 1381 ip link set $host2_if promisc off
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | local_termination.sh | 120 ip link set dev $rcv_if_name promisc on 124 ip link set dev $rcv_if_name promisc off
|
H A D | lib.sh | 1295 ip link set $host1_if promisc on 1345 ip link set $host1_if promisc off 1363 ip link set $host2_if promisc on 1381 ip link set $host2_if promisc off
|
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | mac.h | 33 bool promisc; member
|
/openbmc/linux/drivers/net/wireless/intersil/orinoco/ |
H A D | hw.h | 47 int mc_count, int promisc);
|
H A D | hw.c | 1075 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument 1080 if (promisc != priv->promiscuous) { in __orinoco_hw_set_multicast_list() 1083 promisc); in __orinoco_hw_set_multicast_list() 1088 priv->promiscuous = promisc; in __orinoco_hw_set_multicast_list() 1094 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list()
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.h | 239 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 1346 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()
|
/openbmc/linux/tools/testing/selftests/drivers/net/team/ |
H A D | net_forwarding_lib.sh | 1295 ip link set $host1_if promisc on 1345 ip link set $host1_if promisc off 1363 ip link set $host2_if promisc on 1381 ip link set $host2_if promisc off
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | net_forwarding_lib.sh | 1295 ip link set $host1_if promisc on 1345 ip link set $host1_if promisc off 1363 ip link set $host2_if promisc on 1381 ip link set $host2_if promisc off
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | vnic_dev.h | 124 int broadcast, int promisc, int allmulti);
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-net.h | 187 uint8_t promisc; member
|