Home
last modified time | relevance | path

Searched refs:FLOW_DISSECTOR_KEY_IPV4_ADDRS (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.15/net/core/
Dflow_dissector.c315 skb_flow_dissect_set_enc_addr_type(FLOW_DISSECTOR_KEY_IPV4_ADDRS, in skb_flow_dissect_tunnel_info()
822 dissector_uses_key(flow_dissector, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in __skb_flow_bpf_to_target()
824 FLOW_DISSECTOR_KEY_IPV4_ADDRS, in __skb_flow_bpf_to_target()
828 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_bpf_to_target()
1054 FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in __skb_flow_dissect()
1056 FLOW_DISSECTOR_KEY_IPV4_ADDRS, in __skb_flow_dissect()
1063 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_dissect()
1468 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_keys_hash_length()
1484 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_get_u32_src()
1500 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_get_u32_dst()
[all …]
Dflow_offload.c82 FLOW_DISSECTOR_MATCH(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS, out); in flow_rule_match_ipv4_addrs()
/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c253 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in mtk_flow_offload_replace()
280 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace()
314 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace()
/Linux-v5.15/net/netfilter/
Dnft_payload.c277 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, src, in nft_payload_offload_ip()
279 nft_flow_rule_set_addr_type(flow, FLOW_DISSECTOR_KEY_IPV4_ADDRS); in nft_payload_offload_ip()
286 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, dst, in nft_payload_offload_ip()
288 nft_flow_rule_set_addr_type(flow, FLOW_DISSECTOR_KEY_IPV4_ADDRS); in nft_payload_offload_ip()
Dnf_flow_table_offload.c60 key->enc_control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in nf_flow_rule_lwt_match()
103 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4); in nf_flow_rule_match()
144 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in nf_flow_rule_match()
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_flower.c104 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in prestera_flower_parse()
189 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in prestera_flower_parse()
/Linux-v5.15/include/net/
Dflow_dissector.h257 FLOW_DISSECTOR_KEY_IPV4_ADDRS, /* struct flow_dissector_key_ipv4_addrs */ enumerator
Dip.h563 flow->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in iph_to_flow_copy_v4addrs()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c173 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in cxgb4_process_flow_match()
174 addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in cxgb4_process_flow_match()
201 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in cxgb4_process_flow_match()
318 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in cxgb4_validate_flow_match()
/Linux-v5.15/net/ipv4/
Droute.c1919 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_outer()
1958 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in fib_multipath_custom_hash_inner()
1959 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_inner()
2006 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_fl4()
2032 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2058 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2066 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2083 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in fib_multipath_hash()
2084 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2095 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
[all …]
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot_flower.c442 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in ocelot_flower_parse_key()
537 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) && in ocelot_flower_parse_key()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c439 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in mlxsw_sp_flower_parse()
533 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) in mlxsw_sp_flower_parse()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-flower.c27 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS))) { in dpaa2_switch_flower_parse_key()
71 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in dpaa2_switch_flower_parse_key()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c413 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in otx2_tc_prepare_flow()
522 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in otx2_tc_prepare_flow()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c224 if (tuple->addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_rule_to_tuple()
355 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_set_tuple_match()
917 if (rev_tuple.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_shared_counter_get()
1202 tuple->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in mlx5_tc_ct_skb_to_tuple()
Dtc_tun.c831 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5e_tc_tun_parse()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c29 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | \
141 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) || in nfp_flower_check_higher_than_mac()
338 enc_ctl.key->addr_type != FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in nfp_flower_calculate_key_layers()
Dmatch.c326 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in nfp_flower_compile_ipv4()
Dconntrack.c109 if (ovlp_keys & BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in nfp_ct_merge_check()
278 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in nfp_ct_check_mangle_merge()
/Linux-v5.15/net/sched/
Dcls_flower.c1554 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fl_set_key()
1651 key->enc_control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fl_set_key()
1774 FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4); in fl_init_dissector()
2902 if (key->control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS && in fl_dump_key()
2996 if (key->enc_control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS && in fl_dump_key()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c559 if (key.enc_control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5e_restore_tunnel()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c457 if (!dissector_uses_key(dissector, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) in tc_add_ip4_flow()
Dstmmac_selftests.c1359 dissector->used_keys |= (1 << FLOW_DISSECTOR_KEY_IPV4_ADDRS); in __stmmac_test_l3filt()
1360 dissector->offset[FLOW_DISSECTOR_KEY_IPV4_ADDRS] = 0; in __stmmac_test_l3filt()
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1768 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in qede_flow_parse_v4_common()
1840 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in qede_parse_flow_attr()
/Linux-v5.15/net/ipv6/
Droute.c2394 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in rt6_multipath_custom_hash_inner()
2395 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in rt6_multipath_custom_hash_inner()
2524 if (flkeys->control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in rt6_multipath_hash()
2525 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in rt6_multipath_hash()

12