/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_clsf.c | 38 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 D | flow_dissector.c | 931 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 D | route.c | 1930 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 D | hash.c | 194 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 D | ip.h | 583 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 D | flow_dissector.h | 145 struct flow_dissector_key_ipv4_addrs v4addrs; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 678 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 D | ice_arfs.c | 324 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 D | sch_cake.c | 603 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 D | rx.c | 873 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 D | rx_common.c | 992 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 D | rx_common.c | 998 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 D | route.c | 2398 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 D | hyperv_net.h | 1104 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 1385 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 D | bond_main.c | 225 .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 D | bnxt_ethtool.c | 1053 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 D | bnxt.c | 4986 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 D | hclge_main.c | 6961 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()
|