/kernel/linux/linux-5.10/include/net/tc_act/ |
H A D | tc_gate.h | 13 s32 ipv; member 21 s32 ipv; member 139 oe[i].ipv = entry->ipv; in tcf_gate_get_list()
|
/kernel/linux/linux-6.6/include/net/tc_act/ |
H A D | tc_gate.h | 13 s32 ipv; member 21 s32 ipv; member 134 oe[i].ipv = entry->ipv; in tcf_gate_get_list()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
H A D | sja1105_vl.c | 480 vl_fwd[sharindx].priority = rule->vl.ipv; in sja1105_init_virtual_links() 574 int ipv = -1; in sja1105_vl_gate() local 665 if (ipv == -1) { in sja1105_vl_gate() 666 ipv = entries[i].ipv; in sja1105_vl_gate() 667 } else if (ipv != entries[i].ipv) { in sja1105_vl_gate() 677 if (ipv == -1) { in sja1105_vl_gate() 679 ipv = key->vl.pcp; in sja1105_vl_gate() 681 ipv in sja1105_vl_gate() [all...] |
H A D | sja1105.h | 172 int ipv; member
|
/kernel/linux/linux-6.6/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 678 if (ipv == -1) { in sja1105_vl_gate() 679 ipv = entries[i].ipv; in sja1105_vl_gate() 680 } else if (ipv != entries[i].ipv) { in sja1105_vl_gate() 690 if (ipv == -1) { in sja1105_vl_gate() 692 ipv = key->vl.pcp; in sja1105_vl_gate() 694 ipv in sja1105_vl_gate() [all...] |
H A D | sja1105.h | 232 int ipv; member
|
/kernel/linux/linux-6.6/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() 119 "Conntrack missing ipv specification\n"); 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_psfp.c | 83 static u32 sparx5_psfp_ipv_to_ips(s32 ipv) in sparx5_psfp_ipv_to_ips() argument 85 return ipv > 0 ? (ipv | BIT(3)) : 0; in sparx5_psfp_ipv_to_ips() 138 ips = sparx5_psfp_ipv_to_ips(sg->ipv); in sparx5_psfp_sg_set() 168 ips = sparx5_psfp_ipv_to_ips(gce->ipv); in sparx5_psfp_sg_set()
|
H A D | sparx5_tc_flower.c | 707 sg->ipv = act->gate.prio; in sparx5_tc_flower_parse_act_gate() 715 sg->gce[i].ipv = act->gate.entries[i].ipv; in sparx5_tc_flower_parse_act_gate() 766 sg->ipv = 0; /* Disabled */ in sparx5_tc_flower_psfp_setup() 773 sg->gce[0].ipv = 0; in sparx5_tc_flower_psfp_setup()
|
H A D | sparx5_main.h | 498 u32 ipv; /* InternalPriorityValue */ member 505 u32 ipv; /* PSFPAdminIPV */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_ttc.c | 202 u8 ipv; in mlx5_generate_ttc_rule() local 214 ipv = mlx5_etype_to_ipv(etype); in mlx5_generate_ttc_rule() 215 if (match_ipv_outer && ipv) { in mlx5_generate_ttc_rule() 218 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5_generate_ttc_rule() 367 u8 ipv; in mlx5_generate_inner_ttc_rule() local 373 ipv = mlx5_etype_to_ipv(etype); in mlx5_generate_inner_ttc_rule() 374 if (etype && ipv) { in mlx5_generate_inner_ttc_rule() 377 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5_generate_inner_ttc_rule()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_l3_main.c | 1585 int ipv) in qeth_l3_get_cast_type_rcu() 1604 switch (ipv) { in qeth_l3_get_cast_type_rcu() 1621 int ipv = qeth_get_ip_version(skb); in qeth_l3_get_cast_type() local 1626 dst = qeth_dst_check_rcu(skb, ipv); in qeth_l3_get_cast_type() 1627 cast_type = qeth_l3_get_cast_type_rcu(skb, dst, ipv); in qeth_l3_get_cast_type() 1646 int ipv, unsigned int data_len) in qeth_l3_fill_header() 1670 qeth_tx_csum(skb, &hdr->hdr.l3.ext_flags, ipv); in qeth_l3_fill_header() 1672 if (ipv == 4) in qeth_l3_fill_header() 1677 if (ipv == 4 || IS_IQD(card)) { in qeth_l3_fill_header() 1689 dst = qeth_dst_check_rcu(skb, ipv); in qeth_l3_fill_header() 1584 qeth_l3_get_cast_type_rcu(struct sk_buff *skb, struct dst_entry *dst, int ipv) qeth_l3_get_cast_type_rcu() argument 1644 qeth_l3_fill_header(struct qeth_qdio_out_q *queue, struct qeth_hdr *hdr, struct sk_buff *skb, int ipv, unsigned int data_len) qeth_l3_fill_header() argument 1727 qeth_l3_xmit(struct qeth_card *card, struct sk_buff *skb, struct qeth_qdio_out_q *queue, int ipv) qeth_l3_xmit() argument 1750 int ipv = qeth_get_ip_version(skb); qeth_l3_hard_start_xmit() local [all...] |
H A D | qeth_core.h | 979 static inline struct dst_entry *qeth_dst_check_rcu(struct sk_buff *skb, int ipv) in qeth_dst_check_rcu() argument 986 dst = dst_check(dst, (ipv == 6) ? rt6_get_cookie(rt) : 0); in qeth_dst_check_rcu() 1009 static inline void qeth_tx_csum(struct sk_buff *skb, u8 *flags, int ipv) in qeth_tx_csum() argument 1012 if ((ipv == 4 && ip_hdr(skb)->protocol == IPPROTO_UDP) || in qeth_tx_csum() 1013 (ipv == 6 && ipv6_hdr(skb)->nexthdr == IPPROTO_UDP)) in qeth_tx_csum() 1142 struct qeth_qdio_out_q *queue, int ipv, 1145 int ipv, unsigned int data_len));
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l3_drops.sh | 454 local ipv="4" 459 __ipv4_header_corrupted_test "wrong IHL" $ipv 4 $checksum 460 __ipv4_header_corrupted_test "wrong checksum" $ipv $ihl "00:00"
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_gate.c | 191 entry->ipv = nla_get_s32(tb[TCA_GATE_ENTRY_IPV]); in fill_gate_entry() 193 entry->ipv = -1; in fill_gate_entry() 490 if (nla_put_s32(skb, TCA_GATE_ENTRY_IPV, entry->ipv)) in dumping_entry()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_gate.c | 194 entry->ipv = nla_get_s32(tb[TCA_GATE_ENTRY_IPV]); in fill_gate_entry() 196 entry->ipv = -1; in fill_gate_entry() 493 if (nla_put_s32(skb, TCA_GATE_ENTRY_IPV, entry->ipv)) in dumping_entry()
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l3_drops.sh | 455 local ipv="4" 460 __ipv4_header_corrupted_test "wrong IHL" $ipv 4 $checksum 461 __ipv4_header_corrupted_test "wrong checksum" $ipv $ihl "00:00"
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs.c | 829 u8 ipv; in mlx5e_generate_ttc_rule() local 841 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_ttc_rule() 842 if (match_ipv_outer && ipv) { in mlx5e_generate_ttc_rule() 845 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5e_generate_ttc_rule() 1001 u8 ipv; in mlx5e_generate_inner_ttc_rule() local 1007 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_inner_ttc_rule() 1008 if (etype && ipv) { in mlx5e_generate_inner_ttc_rule() 1011 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5e_generate_inner_ttc_rule()
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | conntrack_icmp_related.sh | 127 ip netns exec nsrouter1 sysctl -q net.ipv$i.conf.all.forwarding=1 128 ip netns exec nsrouter2 sysctl -q net.ipv$i.conf.all.forwarding=1
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | conntrack_icmp_related.sh | 127 ip netns exec nsrouter1 sysctl -q net.ipv$i.conf.all.forwarding=1 128 ip netns exec nsrouter2 sysctl -q net.ipv$i.conf.all.forwarding=1
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/ |
H A D | pdc.h | 690 ipv : 1, /* IPRs Valid */
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 817 if (from->ipv >= 0) in enetc_streamgate_hw_set() 818 to->multi |= ((from->ipv & 0x7) << 5) | 0x08; in enetc_streamgate_hw_set() 1221 e[i].ipv = entryg->gate.entries[i].ipv; in enetc_psfp_parse_clsflower()
|
/kernel/linux/linux-6.6/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()
|