| /linux/include/net/tc_act/ |
| H A D | tc_gate.h | 13 s32 ipv; member 21 s32 ipv; member 125 oe[i].ipv = entry->ipv; in tcf_gate_get_list()
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_vl.c | 495 vl_fwd[sharindx].priority = rule->vl.ipv; in sja1105_init_virtual_links() 590 int ipv = -1; in sja1105_vl_gate() local 677 if (ipv == -1) { in sja1105_vl_gate() 678 ipv = entries[i].ipv; in sja1105_vl_gate() 679 } else if (ipv != entries[i].ipv) { in sja1105_vl_gate() 689 if (ipv == -1) { in sja1105_vl_gate() 691 ipv = key->vl.pcp; in sja1105_vl_gate() 693 ipv = 0; in sja1105_vl_gate() 698 rule->vl.ipv = ipv; in sja1105_vl_gate()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc_conntrack.c | 97 unsigned char ipv = 0; in efx_tc_ct_parse_match() local 107 ipv = 4; in efx_tc_ct_parse_match() 110 ipv = 6; in efx_tc_ct_parse_match() 117 if (!ipv) { in efx_tc_ct_parse_match() 148 if (conn->eth_proto != (ipv == 4 ? htons(ETH_P_IP) in efx_tc_ct_parse_match() 152 ipv, ntohs(conn->eth_proto)); in efx_tc_ct_parse_match() 180 if (ipv == 4 && flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in efx_tc_ct_parse_match() 198 } else if (ipv == 6 && flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in efx_tc_ct_parse_match() 218 "Conntrack missing IPv%u addrs\n", ipv); in efx_tc_ct_parse_match()
|
| H A D | tc.c | 244 unsigned char ipv = 0; in efx_tc_flower_parse_match() local 259 ipv = 4; in efx_tc_flower_parse_match() 262 ipv = 6; in efx_tc_flower_parse_match() 373 if (ipv == 4) { in efx_tc_flower_parse_match() 378 else if (ipv == 6) { in efx_tc_flower_parse_match()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | fs_ttc.c | 315 u8 ipv; in mlx5_fs_ttc_set_match_ipv_outer() local 317 ipv = mlx5_etype_to_ipv(etype); in mlx5_fs_ttc_set_match_ipv_outer() 318 if (match_ipv_outer && ipv) { in mlx5_fs_ttc_set_match_ipv_outer() 322 outer_headers.ip_version, ipv); in mlx5_fs_ttc_set_match_ipv_outer() 631 u8 ipv; in mlx5_generate_inner_ttc_rule() local 637 ipv = mlx5_etype_to_ipv(etype); in mlx5_generate_inner_ttc_rule() 638 if (etype && ipv) { in mlx5_generate_inner_ttc_rule() 641 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5_generate_inner_ttc_rule()
|
| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | ksft_runner.sh | 58 elif [[ ! "$ip_versions" =~ ^ipv[46]$ ]]; then
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_icmp_related.sh | 109 ip netns exec "$nsrouter1" sysctl -q net.ipv$i.conf.all.forwarding=1 110 ip netns exec "$nsrouter2" sysctl -q net.ipv$i.conf.all.forwarding=1
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | vxlan_bridge_1q_mc_ul.sh | 470 local ipv=$1; shift 475 local pref=$((100 + ipv)) 488 "do_packets_v$ipv"
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_tc_flower.c | 730 sg->ipv = act->gate.prio; in sparx5_tc_flower_parse_act_gate() 738 sg->gce[i].ipv = act->gate.entries[i].ipv; in sparx5_tc_flower_parse_act_gate() 791 sg->ipv = 0; /* Disabled */ in sparx5_tc_flower_psfp_setup() 798 sg->gce[0].ipv = 0; in sparx5_tc_flower_psfp_setup()
|
| /linux/tools/testing/selftests/net/ |
| H A D | xfrm_policy.sh | 396 ip netns exec ${ns[$i]} sysctl net.ipv$j.conf.eth1.forwarding=1 > /dev/null 397 ip netns exec ${ns[$i]} sysctl net.ipv$j.conf.veth0.forwarding=1 > /dev/null
|
| H A D | fib_nexthops.sh | 307 local ipv=$1 318 if [ $ipv -eq 4 ]; then 361 local ipv=$1 365 if [ $ipv -eq 4 ]; then
|
| H A D | lib.sh | 312 tc -n $ns filter add dev $dev parent 1: protocol ipv$ipver \
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_qos.c | 820 if (from->ipv >= 0) in enetc_streamgate_hw_set() 821 to->multi |= ((from->ipv & 0x7) << 5) | 0x08; in enetc_streamgate_hw_set() 1263 e[i].ipv = entryg->gate.entries[i].ipv; in enetc_psfp_parse_clsflower()
|
| /linux/net/sched/ |
| H A D | act_gate.c | 193 entry->ipv = nla_get_s32_default(tb[TCA_GATE_ENTRY_IPV], -1); in fill_gate_entry() 487 if (nla_put_s32(skb, TCA_GATE_ENTRY_IPV, entry->ipv)) in dumping_entry()
|
| /linux/arch/parisc/include/uapi/asm/ |
| H A D | pdc.h | 696 ipv : 1, /* IPRs Valid */ member
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_main.c | 341 static void lan966x_ifh_set_ipv(void *ifh, u64 ipv) in lan966x_ifh_set_ipv() argument 343 lan966x_ifh_set(ifh, ipv, IFH_POS_IPV, IFH_WID_IPV); in lan966x_ifh_set_ipv()
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix_vsc9959.c | 2169 u32 ips = (e[i].ipv < 0) ? 0 : (e[i].ipv + 8); in vsc9959_psfp_sgi_set()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | fs.c | 836 struct mlx5_flow_spec *spec, int ipv) in set_ecn_ce_spec() argument 853 ipv); in set_ecn_ce_spec()
|