| /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() 88 bool promisc; in br_handle_frame_finish() local 146 promisc = !!(br->dev->flags & IFF_PROMISC); in br_handle_frame_finish() 147 local_rcv = promisc; in br_handle_frame_finish() 235 return br_pass_frame_up(skb, promisc); in br_handle_frame_finish() 412 BR_INPUT_SKB_CB(skb)->promisc = false; in br_handle_frame()
|
| H A D | br_netfilter_hooks.c | 584 bool promisc = BR_INPUT_SKB_CB(skb)->promisc; in br_nf_local_in() local 590 if (promisc) { in br_nf_local_in()
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_vlan_aware.sh | 158 ip link set $h2 promisc on 193 ip link set $h2 promisc off 221 ip link set $h2 promisc on 234 ip link set $h2 promisc off 251 ip link set $h2 promisc on 287 ip link set $h2 promisc off
|
| H A D | lib.sh | 1361 ip link set $host1_if promisc on 1411 ip link set $host1_if promisc off 1429 ip link set $host2_if promisc on 1447 ip link set $host2_if promisc off 2141 local promisc 2148 promisc=$(ip -j -d link show dev $dev | jq -r '.[].promiscuity') 2152 [[ $promisc == 1 ]] && echo "no" || echo "yes"
|
| H A D | local_termination.sh | 190 ip link set dev $rcv_if_name promisc on 194 ip link set dev $rcv_if_name promisc off
|
| /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);
|
| H A D | vnic_dev.h | 130 int broadcast, int promisc, int allmulti);
|
| /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 …]
|
| /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()
|
| /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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | fs.h | 144 void mlx5e_enable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc); 145 void mlx5e_disable_cvlan_filter(struct mlx5e_flow_steering *fs, bool promisc);
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | port.c | 1326 u32 promisc; in mlx4_common_set_port() local 1356 promisc = be32_to_cpu(qpn_context->promisc) >> in mlx4_common_set_port() 1358 qpn_context->promisc = cpu_to_be32( in mlx4_common_set_port() 1359 promisc << SET_PORT_PROMISC_SHIFT | in mlx4_common_set_port() 1361 promisc = be32_to_cpu(qpn_context->mcast) >> in mlx4_common_set_port() 1364 promisc << SET_PORT_MC_PROMISC_SHIFT | in mlx4_common_set_port() 1623 u8 promisc) in mlx4_SET_PORT_qpn_calc() argument 1641 context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT | in mlx4_SET_PORT_qpn_calc()
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.h | 239 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */ member
|
| H A D | sun3_82586.c | 428 cfg_cmd->promisc = 0; in init586() 433 cfg_cmd->promisc = 1; in init586() 437 cfg_cmd->promisc = 1; in init586()
|
| /linux/drivers/scsi/fnic/ |
| H A D | vnic_dev.h | 124 int broadcast, int promisc, int allmulti);
|
| H A D | vnic_dev.c | 710 int broadcast, int promisc, int allmulti) in vnic_dev_packet_filter() argument 719 (promisc ? CMD_PFILTER_PROMISCUOUS : 0) | in vnic_dev_packet_filter()
|
| /linux/drivers/net/ethernet/alteon/ |
| H A D | acenic.c | 2253 ap->promisc = 1; in ace_open() 2255 ap->promisc = 0; in ace_open() 2291 if (ap->promisc) { in ace_close() 2296 ap->promisc = 0; in ace_close() 2754 if ((dev->flags & IFF_PROMISC) && !(ap->promisc)) { in ace_set_multicast_list() 2759 ap->promisc = 1; in ace_set_multicast_list() 2760 }else if (!(dev->flags & IFF_PROMISC) && (ap->promisc)) { in ace_set_multicast_list() 2765 ap->promisc = 0; in ace_set_multicast_list()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | netcp_core.c | 1497 static int netcp_set_promiscuous(struct netcp_intf *netcp, bool promisc) in netcp_set_promiscuous() argument 1508 error = module->set_rx_mode(priv->module_priv, promisc); in netcp_set_promiscuous() 1519 bool promisc; in netcp_set_rx_mode() local 1521 promisc = (ndev->flags & IFF_PROMISC || in netcp_set_rx_mode() 1538 if (promisc) in netcp_set_rx_mode() 1544 netcp_set_promiscuous(netcp, promisc); in netcp_set_rx_mode()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.c | 656 bool promisc, bool mc_promisc) in esw_apply_vport_rx_mode() argument 661 goto promisc; in esw_apply_vport_rx_mode() 676 goto promisc; in esw_apply_vport_rx_mode() 683 promisc: in esw_apply_vport_rx_mode() 684 if (IS_ERR_OR_NULL(vport->promisc_rule) != promisc) in esw_apply_vport_rx_mode() 687 if (promisc) { in esw_apply_vport_rx_mode()
|
| /linux/drivers/net/ethernet/ibm/ehea/ |
| H A D | ehea.h | 441 int promisc; /* Indicates IFF_PROMISC state */ member
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | t4vf_hw.c | 1474 int mtu, int promisc, int all_multi, int bcast, int vlanex, in t4vf_set_rxmode() argument 1482 if (promisc < 0) in t4vf_set_rxmode() 1483 promisc = FW_VI_RXMODE_CMD_PROMISCEN_M; in t4vf_set_rxmode() 1499 FW_VI_RXMODE_CMD_PROMISCEN_V(promisc) | in t4vf_set_rxmode()
|
| /linux/drivers/net/ethernet/alacritech/ |
| H A D | slic.h | 550 bool promisc; member
|
| /linux/drivers/net/wireless/atmel/ |
| H A D | at76c50x-usb.h | 404 int promisc; member
|
| H A D | at76c50x-usb.c | 1474 priv->mib_buf.data.byte = priv->promisc ? 1 : 0; in at76_work_set_promisc() 2075 if (flags && !priv->promisc) { in at76_configure_filter() 2077 priv->promisc = 1; in at76_configure_filter() 2078 } else if (!flags && priv->promisc) { in at76_configure_filter() 2080 priv->promisc = 0; in at76_configure_filter()
|