Home
last modified time | relevance | path

Searched refs:v4addrs (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c38 data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); in enic_addfltr_5t()
39 data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); in enic_addfltr_5t()
162 if (tpos->keys.addrs.v4addrs.src == k->addrs.v4addrs.src && in htbl_key_search()
163 tpos->keys.addrs.v4addrs.dst == k->addrs.v4addrs.dst && in htbl_key_search()
/openbmc/linux/net/core/
H A Dflow_dissector.c931 key_addrs->v4addrs.src = flow_keys->ipv4_src; in __skb_flow_bpf_to_target()
1186 sizeof(key_addrs->v4addrs.src)); in __skb_flow_dissect()
1188 sizeof(key_addrs->v4addrs.dst)); in __skb_flow_dissect()
1688 diff -= sizeof(flow->addrs.v4addrs); in flow_keys_hash_length()
1704 return flow->addrs.v4addrs.src; in flow_get_u32_src()
1720 return flow->addrs.v4addrs.dst; in flow_get_u32_dst()
1739 if ((__force u32)keys->addrs.v4addrs.dst < in __flow_hash_consistentify()
1740 (__force u32)keys->addrs.v4addrs.src) in __flow_hash_consistentify()
1741 swap(keys->addrs.v4addrs.src, keys->addrs.v4addrs.dst); in __flow_hash_consistentify()
1819 data->src = flow->addrs.v4addrs.src; in make_flow_keys_digest()
[all …]
/openbmc/linux/net/ipv4/
H A Droute.c1930 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_custom_hash_outer()
1932 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in fib_multipath_custom_hash_outer()
1970 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_custom_hash_inner()
1972 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in fib_multipath_custom_hash_inner()
2017 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_custom_hash_fl4()
2019 hash_keys.addrs.v4addrs.dst = fl4->daddr; in fib_multipath_custom_hash_fl4()
2045 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_hash()
2068 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in fib_multipath_hash()
2069 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in fib_multipath_hash()
2094 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_hash()
[all …]
/openbmc/linux/drivers/net/xen-netback/
H A Dhash.c194 memcpy(&data[0], &flow.addrs.v4addrs.src, 4); in xenvif_set_skb_hash()
195 memcpy(&data[4], &flow.addrs.v4addrs.dst, 4); in xenvif_set_skb_hash()
204 memcpy(&data[0], &flow.addrs.v4addrs.src, 4); in xenvif_set_skb_hash()
205 memcpy(&data[4], &flow.addrs.v4addrs.dst, 4); in xenvif_set_skb_hash()
/openbmc/linux/include/net/
H A Dip.h583 BUILD_BUG_ON(offsetof(typeof(flow->addrs), v4addrs.dst) != in iph_to_flow_copy_v4addrs()
584 offsetof(typeof(flow->addrs), v4addrs.src) + in iph_to_flow_copy_v4addrs()
585 sizeof(flow->addrs.v4addrs.src)); in iph_to_flow_copy_v4addrs()
586 memcpy(&flow->addrs.v4addrs, &iph->addrs, sizeof(flow->addrs.v4addrs)); in iph_to_flow_copy_v4addrs()
H A Dflow_dissector.h145 struct flow_dissector_key_ipv4_addrs v4addrs; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c678 tuple->src_ipv4 = fk->addrs.v4addrs.src; in arfs_alloc_rule()
679 tuple->dst_ipv4 = fk->addrs.v4addrs.dst; in arfs_alloc_rule()
705 return tuple->src_ipv4 == fk->addrs.v4addrs.src && in arfs_cmp()
706 tuple->dst_ipv4 == fk->addrs.v4addrs.dst; in arfs_cmp()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_arfs.c324 fltr_info->ip.v4.src_ip = fk->addrs.v4addrs.src; in ice_arfs_build_entry()
325 fltr_info->ip.v4.dst_ip = fk->addrs.v4addrs.dst; in ice_arfs_build_entry()
/openbmc/linux/net/sched/
H A Dsch_cake.c603 if (ip != keys->addrs.v4addrs.src) { in cake_update_flowkeys()
604 keys->addrs.v4addrs.src = ip; in cake_update_flowkeys()
608 if (ip != keys->addrs.v4addrs.dst) { in cake_update_flowkeys()
609 keys->addrs.v4addrs.dst = ip; in cake_update_flowkeys()
693 host_keys.addrs.v4addrs.src = 0; in cake_hash()
695 host_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in cake_hash()
696 host_keys.addrs.v4addrs.dst = 0; in cake_hash()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Drx.c873 spec.rem_host[0] = fk.addrs.v4addrs.src; in ef4_filter_rfs()
874 spec.loc_host[0] = fk.addrs.v4addrs.dst; in ef4_filter_rfs()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Drx_common.c992 req->spec.rem_host[0] = fk.addrs.v4addrs.src; in efx_filter_rfs()
993 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_filter_rfs()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Drx_common.c998 req->spec.rem_host[0] = fk.addrs.v4addrs.src; in efx_siena_filter_rfs()
999 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_siena_filter_rfs()
/openbmc/linux/net/ipv6/
H A Droute.c2398 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in rt6_multipath_custom_hash_inner()
2400 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in rt6_multipath_custom_hash_inner()
2527 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in rt6_multipath_hash()
2528 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in rt6_multipath_hash()
/openbmc/linux/drivers/net/hyperv/
H A Dhyperv_net.h1104 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c1385 tuple->ip.src_v4 = flow_keys.addrs.v4addrs.src; in mlx5_tc_ct_skb_to_tuple()
1386 tuple->ip.dst_v4 = flow_keys.addrs.v4addrs.dst; in mlx5_tc_ct_skb_to_tuple()
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c225 .offset = offsetof(struct flow_keys, addrs.v4addrs),
5379 flow->addrs.v4addrs.src = inet_sk(sk)->inet_rcv_saddr; in bond_sk_to_flow()
5380 flow->addrs.v4addrs.dst = inet_sk(sk)->inet_daddr; in bond_sk_to_flow()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1053 fs->h_u.tcp_ip4_spec.ip4src = fkeys->addrs.v4addrs.src; in bnxt_grxclsrule()
1056 fs->h_u.tcp_ip4_spec.ip4dst = fkeys->addrs.v4addrs.dst; in bnxt_grxclsrule()
H A Dbnxt.c4986 req->src_ipaddr[0] = keys->addrs.v4addrs.src; in bnxt_hwrm_cfa_ntuple_filter_alloc()
4988 req->dst_ipaddr[0] = keys->addrs.v4addrs.dst; in bnxt_hwrm_cfa_ntuple_filter_alloc()
12904 if (keys1->addrs.v4addrs.src != keys2->addrs.v4addrs.src || in bnxt_fltr_match()
12905 keys1->addrs.v4addrs.dst != keys2->addrs.v4addrs.dst) in bnxt_fltr_match()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c6961 tuples->src_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.src); in hclge_fd_get_flow_tuples()
6962 tuples->dst_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.dst); in hclge_fd_get_flow_tuples()