Home
last modified time | relevance | path

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

12

/Linux-v5.10/net/core/
Dflow_dissector.c309 skb_flow_dissect_set_enc_addr_type(FLOW_DISSECTOR_KEY_IPV4_ADDRS, in skb_flow_dissect_tunnel_info()
812 dissector_uses_key(flow_dissector, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in __skb_flow_bpf_to_target()
814 FLOW_DISSECTOR_KEY_IPV4_ADDRS, in __skb_flow_bpf_to_target()
818 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_bpf_to_target()
1043 FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in __skb_flow_dissect()
1045 FLOW_DISSECTOR_KEY_IPV4_ADDRS, in __skb_flow_dissect()
1050 key_control->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in __skb_flow_dissect()
1438 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_keys_hash_length()
1454 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in flow_get_u32_src()
1470 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.10/net/netfilter/
Dnft_payload.c274 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, src, in nft_payload_offload_ip()
276 nft_flow_rule_set_addr_type(flow, FLOW_DISSECTOR_KEY_IPV4_ADDRS); in nft_payload_offload_ip()
283 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4, dst, in nft_payload_offload_ip()
285 nft_flow_rule_set_addr_type(flow, FLOW_DISSECTOR_KEY_IPV4_ADDRS); in nft_payload_offload_ip()
Dnf_flow_table_offload.c58 key->enc_control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in nf_flow_rule_lwt_match()
90 NF_FLOW_DISSECTOR(match, FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4); in nf_flow_rule_match()
105 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in nf_flow_rule_match()
/Linux-v5.10/include/net/
Dflow_dissector.h257 FLOW_DISSECTOR_KEY_IPV4_ADDRS, /* struct flow_dissector_key_ipv4_addrs */ enumerator
Dip.h545 flow->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in iph_to_flow_copy_v4addrs()
/Linux-v5.10/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.10/drivers/net/ethernet/mscc/
Docelot_flower.c437 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in ocelot_flower_parse_key()
532 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) && in ocelot_flower_parse_key()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c416 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in mlxsw_sp_flower_parse()
510 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) in mlxsw_sp_flower_parse()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c182 if (tuple->addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_rule_to_tuple()
313 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_set_tuple_match()
751 if (rev_tuple.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_shared_counter_get()
1012 tuple->addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in mlx5_tc_ct_skb_to_tuple()
Dtc_tun.c549 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5e_tc_tun_parse()
/Linux-v5.10/net/ipv4/
Droute.c1933 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
1958 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
1966 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
1982 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in fib_multipath_hash()
1983 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
1994 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
1999 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c28 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | \
140 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) || in nfp_flower_check_higher_than_mac()
340 enc_ctl.key->addr_type != FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in nfp_flower_calculate_key_layers()
Dmatch.c286 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in nfp_flower_compile_ipv4()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c558 if (key.enc_control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5e_restore_tunnel()
/Linux-v5.10/net/sched/
Dcls_flower.c1496 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fl_set_key()
1593 key->enc_control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fl_set_key()
1716 FLOW_DISSECTOR_KEY_IPV4_ADDRS, ipv4); in fl_init_dissector()
2838 if (key->control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS && in fl_dump_key()
2932 if (key->enc_control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS && in fl_dump_key()
Dsch_cake.c691 case FLOW_DISSECTOR_KEY_IPV4_ADDRS: in cake_hash()
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c425 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.10/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.10/drivers/net/ethernet/intel/iavf/
Diavf_main.c2716 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in iavf_parse_cls_flower()
2829 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in iavf_parse_cls_flower()
/Linux-v5.10/net/ethtool/
Dioctl.c2944 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS); in ethtool_rx_flow_rule_create()
2945 match->dissector.offset[FLOW_DISSECTOR_KEY_IPV4_ADDRS] = in ethtool_rx_flow_rule_create()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1968 if (tunnel_key.enc_control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) in mlx5e_get_flow_tunnel_id()
2259 BIT(FLOW_DISSECTOR_KEY_IPV4_ADDRS) | in __parse_cls_flower()
2462 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in __parse_cls_flower()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c422 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in bnxt_tc_parse_flow()
/Linux-v5.10/net/ipv6/
Droute.c2411 if (flkeys->control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in rt6_multipath_hash()
2412 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in rt6_multipath_hash()

12