/linux/drivers/net/ethernet/cisco/enic/ |
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()
|
/linux/net/core/ |
A D | flow_dissector.c | 827 key_addrs->v4addrs.src = flow_keys->ipv4_src; in __skb_flow_bpf_to_target() 828 key_addrs->v4addrs.dst = flow_keys->ipv4_dst; in __skb_flow_bpf_to_target() 1061 sizeof(key_addrs->v4addrs.src)); in __skb_flow_dissect() 1063 sizeof(key_addrs->v4addrs.dst)); in __skb_flow_dissect() 1484 diff -= sizeof(flow->addrs.v4addrs); in flow_keys_hash_length() 1500 return flow->addrs.v4addrs.src; in flow_get_u32_src() 1516 return flow->addrs.v4addrs.dst; in flow_get_u32_dst() 1536 (__force u32)keys->addrs.v4addrs.src; in __flow_hash_consistentify() 1538 swap(keys->addrs.v4addrs.src, keys->addrs.v4addrs.dst); in __flow_hash_consistentify() 1616 data->src = flow->addrs.v4addrs.src; in make_flow_keys_digest() [all …]
|
/linux/net/ipv4/ |
A D | route.c | 1913 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_custom_hash_outer() 1915 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in fib_multipath_custom_hash_outer() 1953 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_custom_hash_inner() 1955 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in fib_multipath_custom_hash_inner() 2000 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_custom_hash_fl4() 2002 hash_keys.addrs.v4addrs.dst = fl4->daddr; in fib_multipath_custom_hash_fl4() 2028 hash_keys.addrs.v4addrs.src = fl4->saddr; in fib_multipath_hash() 2051 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in fib_multipath_hash() 2052 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in fib_multipath_hash() 2077 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in fib_multipath_hash() [all …]
|
/linux/drivers/net/xen-netback/ |
A D | hash.c | 195 memcpy(&data[0], &flow.addrs.v4addrs.src, 4); in xenvif_set_skb_hash() 196 memcpy(&data[4], &flow.addrs.v4addrs.dst, 4); in xenvif_set_skb_hash() 205 memcpy(&data[0], &flow.addrs.v4addrs.src, 4); in xenvif_set_skb_hash() 206 memcpy(&data[4], &flow.addrs.v4addrs.dst, 4); in xenvif_set_skb_hash()
|
/linux/include/net/ |
A D | ip.h | 564 BUILD_BUG_ON(offsetof(typeof(flow->addrs), v4addrs.dst) != in iph_to_flow_copy_v4addrs() 565 offsetof(typeof(flow->addrs), v4addrs.src) + in iph_to_flow_copy_v4addrs() 566 sizeof(flow->addrs.v4addrs.src)); in iph_to_flow_copy_v4addrs() 567 memcpy(&flow->addrs.v4addrs, &iph->saddr, sizeof(flow->addrs.v4addrs)); in iph_to_flow_copy_v4addrs()
|
A D | flow_dissector.h | 139 struct flow_dissector_key_ipv4_addrs v4addrs; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_arfs.c | 638 tuple->src_ipv4 = fk->addrs.v4addrs.src; in arfs_alloc_rule() 639 tuple->dst_ipv4 = fk->addrs.v4addrs.dst; in arfs_alloc_rule() 665 return tuple->src_ipv4 == fk->addrs.v4addrs.src && in arfs_cmp() 666 tuple->dst_ipv4 == fk->addrs.v4addrs.dst; in arfs_cmp()
|
/linux/drivers/net/ethernet/intel/ice/ |
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()
|
/linux/net/sched/ |
A D | sch_cake.c | 602 if (ip != keys->addrs.v4addrs.src) { in cake_update_flowkeys() 603 keys->addrs.v4addrs.src = ip; in cake_update_flowkeys() 607 if (ip != keys->addrs.v4addrs.dst) { in cake_update_flowkeys() 608 keys->addrs.v4addrs.dst = ip; in cake_update_flowkeys() 692 host_keys.addrs.v4addrs.src = 0; in cake_hash() 694 host_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in cake_hash() 695 host_keys.addrs.v4addrs.dst = 0; in cake_hash()
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | rx.c | 871 spec.rem_host[0] = fk.addrs.v4addrs.src; in ef4_filter_rfs() 872 spec.loc_host[0] = fk.addrs.v4addrs.dst; in ef4_filter_rfs()
|
/linux/drivers/net/ethernet/sfc/ |
A D | rx_common.c | 1004 req->spec.rem_host[0] = fk.addrs.v4addrs.src; in efx_filter_rfs() 1005 req->spec.loc_host[0] = fk.addrs.v4addrs.dst; in efx_filter_rfs()
|
/linux/net/ipv6/ |
A D | route.c | 2397 hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src; in rt6_multipath_custom_hash_inner() 2399 hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst; in rt6_multipath_custom_hash_inner() 2526 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in rt6_multipath_hash() 2527 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in rt6_multipath_hash()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_ct.c | 1203 tuple->ip.src_v4 = flow_keys.addrs.v4addrs.src; in mlx5_tc_ct_skb_to_tuple() 1204 tuple->ip.dst_v4 = flow_keys.addrs.v4addrs.dst; in mlx5_tc_ct_skb_to_tuple()
|
/linux/drivers/net/bonding/ |
A D | bond_main.c | 220 .offset = offsetof(struct flow_keys, addrs.v4addrs), 4975 flow->addrs.v4addrs.src = inet_sk(sk)->inet_rcv_saddr; in bond_sk_to_flow() 4976 flow->addrs.v4addrs.dst = inet_sk(sk)->inet_daddr; in bond_sk_to_flow()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 1026 fs->h_u.tcp_ip4_spec.ip4src = fkeys->addrs.v4addrs.src; in bnxt_grxclsrule() 1029 fs->h_u.tcp_ip4_spec.ip4dst = fkeys->addrs.v4addrs.dst; in bnxt_grxclsrule()
|
A D | bnxt.c | 4808 req->src_ipaddr[0] = keys->addrs.v4addrs.src; in bnxt_hwrm_cfa_ntuple_filter_alloc() 4810 req->dst_ipaddr[0] = keys->addrs.v4addrs.dst; in bnxt_hwrm_cfa_ntuple_filter_alloc() 12547 if (keys1->addrs.v4addrs.src != keys2->addrs.v4addrs.src || in bnxt_fltr_match() 12548 keys1->addrs.v4addrs.dst != keys2->addrs.v4addrs.dst) in bnxt_fltr_match()
|
/linux/drivers/net/hyperv/ |
A D | netvsc_drv.c | 283 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.c | 7288 tuples->src_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.src); in hclge_fd_get_flow_tuples() 7289 tuples->dst_ip[3] = be32_to_cpu(fkeys->addrs.v4addrs.dst); in hclge_fd_get_flow_tuples()
|