Home
last modified time | relevance | path

Searched refs:ipv (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/s390/net/
Dqeth_l3_main.c1871 int ipv) in qeth_l3_get_cast_type_rcu() argument
1890 switch (ipv) { in qeth_l3_get_cast_type_rcu()
1907 int ipv = qeth_get_ip_version(skb); in qeth_l3_get_cast_type() local
1912 dst = qeth_dst_check_rcu(skb, ipv); in qeth_l3_get_cast_type()
1913 cast_type = qeth_l3_get_cast_type_rcu(skb, dst, ipv); in qeth_l3_get_cast_type()
1932 int ipv, unsigned int data_len) in qeth_l3_fill_header() argument
1956 qeth_tx_csum(skb, &hdr->hdr.l3.ext_flags, ipv); in qeth_l3_fill_header()
1958 if (ipv == 4) in qeth_l3_fill_header()
1963 if (ipv == 4 || IS_IQD(card)) { in qeth_l3_fill_header()
1975 dst = qeth_dst_check_rcu(skb, ipv); in qeth_l3_fill_header()
[all …]
Dqeth_core.h934 static inline struct dst_entry *qeth_dst_check_rcu(struct sk_buff *skb, int ipv) in qeth_dst_check_rcu() argument
941 dst = dst_check(dst, (ipv == 6) ? rt6_get_cookie(rt) : 0); in qeth_dst_check_rcu()
957 static inline void qeth_tx_csum(struct sk_buff *skb, u8 *flags, int ipv) in qeth_tx_csum() argument
960 if ((ipv == 4 && ip_hdr(skb)->protocol == IPPROTO_UDP) || in qeth_tx_csum()
961 (ipv == 6 && ipv6_hdr(skb)->nexthdr == IPPROTO_UDP)) in qeth_tx_csum()
1095 struct qeth_qdio_out_q *queue, int ipv,
1098 int ipv, unsigned int data_len));
Dqeth_l2_main.c167 int ipv, unsigned int data_len) in qeth_l2_fill_header() argument
179 qeth_tx_csum(skb, &hdr->hdr.l2.flags[1], ipv); in qeth_l2_fill_header()
Dqeth_core_main.c3992 struct qeth_qdio_out_q *queue, int ipv, in qeth_xmit() argument
3995 int ipv, unsigned int data_len)) in qeth_xmit()
4028 fill_header(queue, hdr, skb, ipv, frame_len); in qeth_xmit()
/Linux-v5.4/tools/testing/selftests/netfilter/
Dconntrack_icmp_related.sh125 ip netns exec nsrouter1 sysctl -q net.ipv$i.conf.all.forwarding=1
126 ip netns exec nsrouter2 sysctl -q net.ipv$i.conf.all.forwarding=1
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c822 u8 ipv; in mlx5e_generate_ttc_rule() local
834 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_ttc_rule()
835 if (match_ipv_outer && ipv) { in mlx5e_generate_ttc_rule()
838 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5e_generate_ttc_rule()
1000 u8 ipv; in mlx5e_generate_inner_ttc_rule() local
1006 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_inner_ttc_rule()
1007 if (etype && ipv) { in mlx5e_generate_inner_ttc_rule()
1010 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5e_generate_inner_ttc_rule()
/Linux-v5.4/tools/testing/selftests/net/
Dxfrm_policy.sh355 ip netns exec ns$i sysctl net.ipv$j.conf.eth1.forwarding=1 > /dev/null
356 ip netns exec ns$i sysctl net.ipv$j.conf.veth0.forwarding=1 > /dev/null