/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_select_reuseport_kern.c | 82 data_check.ip_protocol = reuse_md->ip_protocol; in _select_by_skb_data() 107 if (data_check.ip_protocol == IPPROTO_TCP) { in _select_by_skb_data() 128 } else if (data_check.ip_protocol == IPPROTO_UDP) { in _select_by_skb_data()
|
/Linux-v5.10/include/linux/mlx5/ |
D | fs_helpers.h | 57 return MLX5_GET(fte_match_set_lyr_2_4, headers_c, ip_protocol) == 0xff && in _mlx5_fs_is_outer_ipproto_flow() 58 MLX5_GET(fte_match_set_lyr_2_4, headers_v, ip_protocol) == match; in _mlx5_fs_is_outer_ipproto_flow()
|
D | mlx5_ifc.h | 475 u8 ip_protocol[0x8]; member
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_gre.c | 65 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_gretap() 66 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_GRE); in mlx5e_tc_tun_parse_gretap()
|
D | tc_tun.c | 679 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_udp_ports() 680 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_UDP); in mlx5e_tc_tun_parse_udp_ports()
|
D | tc_ct.c | 298 MLX5_SET(fte_match_set_lyr_2_4, headers_c, ip_protocol, in mlx5_tc_ct_set_tuple_match() 300 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, in mlx5_tc_ct_set_tuple_match()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | fs_tcp.c | 31 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in accel_fs_tcp_set_ipv4_flow() 32 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); in accel_fs_tcp_set_ipv4_flow() 50 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in accel_fs_tcp_set_ipv6_flow() 51 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); in accel_fs_tcp_set_ipv6_flow() 203 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in accel_fs_tcp_create_groups()
|
D | ipsec_fs.c | 421 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in setup_fte_common() 422 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_ESP); in setup_fte_common()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 189 MLX5E_FTE_SET(headers_c, ip_protocol, 0xffff); in set_tcp() 190 MLX5E_FTE_SET(headers_v, ip_protocol, IPPROTO_TCP); in set_tcp() 207 MLX5E_FTE_SET(headers_c, ip_protocol, 0xffff); in set_udp() 208 MLX5E_FTE_SET(headers_v, ip_protocol, IPPROTO_UDP); in set_udp() 247 MLX5E_FTE_SET(headers_c, ip_protocol, l3_mask->proto); in parse_ip4() 248 MLX5E_FTE_SET(headers_v, ip_protocol, l3_val->proto); in parse_ip4() 262 MLX5E_FTE_SET(headers_c, ip_protocol, l3_mask->l4_proto); in parse_ip6() 263 MLX5E_FTE_SET(headers_v, ip_protocol, l3_val->l4_proto); in parse_ip6()
|
D | en_fs.c | 836 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in mlx5e_generate_ttc_rule() 837 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, proto); in mlx5e_generate_ttc_rule() 944 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_protocol); in mlx5e_create_ttc_table_groups() 959 MLX5_SET(fte_match_param, mc, outer_headers.ip_protocol, 0); in mlx5e_create_ttc_table_groups() 1014 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_protocol); in mlx5e_generate_inner_ttc_rule() 1015 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_protocol, proto); in mlx5e_generate_inner_ttc_rule() 1089 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_protocol); in mlx5e_create_inner_ttc_table_groups() 1101 MLX5_SET(fte_match_param, mc, inner_headers.ip_protocol, 0); in mlx5e_create_inner_ttc_table_groups()
|
D | en_tc.c | 2453 MLX5_SET(fte_match_set_lyr_2_4, headers_c, ip_protocol, in __parse_cls_flower() 2455 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, in __parse_cls_flower() 3246 ip_proto = MLX5_GET(fte_match_set_lyr_2_4, headers_v, ip_protocol); in modify_header_match_supported()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_select_reuseport_common.h | 25 __u32 ip_protocol; member
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | select_reuseport.c | 266 expected.ip_protocol = IPPROTO_TCP; in check_data() 269 expected.ip_protocol = IPPROTO_UDP; in check_data() 299 result.eth_protocol, result.ip_protocol, in check_data() 302 expected.eth_protocol, expected.ip_protocol, in check_data()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 139 PRINT_MASKED_VAL_L2(u8, ip_protocol, ip_protocol, p, "%02x"); in print_lyr_2_4_hdrs()
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | fs.c | 68 ip_protocol); in set_proto() 70 ip_protocol); in set_proto() 72 MLX5_SET(fte_match_set_lyr_2_4, outer_c, ip_protocol, mask); in set_proto() 73 MLX5_SET(fte_match_set_lyr_2_4, outer_v, ip_protocol, val); in set_proto() 420 MLX5_SET(fte_match_set_lyr_2_4, headers_c, ip_protocol, in parse_flow_attr() 422 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, in parse_flow_attr()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste.c | 874 spec->ip_protocol = MLX5_GET(fte_match_set_lyr_2_4, mask, ip_protocol); in dr_ste_copy_mask_spec() 1201 protocol, mask, ip_protocol); in dr_ste_build_eth_l3_ipv4_5_tuple_bit_mask() 1227 DR_STE_SET_TAG(eth_l3_ipv4_5_tuple, tag, protocol, spec, ip_protocol); in dr_ste_build_eth_l3_ipv4_5_tuple_tag() 1561 DR_STE_SET_MASK_V(eth_l4, bit_mask, protocol, mask, ip_protocol); in dr_ste_build_ipv6_l3_l4_bit_mask() 1583 DR_STE_SET_TAG(eth_l4, tag, protocol, spec, ip_protocol); in dr_ste_build_ipv6_l3_l4_tag()
|
D | dr_matcher.c | 30 return (spec->ip_protocol || spec->frag || spec->tcp_flags || in dr_mask_is_l3_base_set()
|
D | dr_types.h | 406 u32 ip_protocol:8; /* IP protocol */ member
|
/Linux-v5.10/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 4138 u8 ip_protocol; in rtl8169_tso_csum_v2() local 4143 ip_protocol = ip_hdr(skb)->protocol; in rtl8169_tso_csum_v2() 4148 ip_protocol = ipv6_hdr(skb)->nexthdr; in rtl8169_tso_csum_v2() 4152 ip_protocol = IPPROTO_RAW; in rtl8169_tso_csum_v2() 4156 if (ip_protocol == IPPROTO_TCP) in rtl8169_tso_csum_v2() 4158 else if (ip_protocol == IPPROTO_UDP) in rtl8169_tso_csum_v2()
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | bpf.h | 4355 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ member
|
/Linux-v5.10/include/uapi/linux/ |
D | bpf.h | 4355 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ member
|
/Linux-v5.10/drivers/net/usb/ |
D | r8152.c | 2016 u8 ip_protocol; in r8152_tx_csum() local 2029 ip_protocol = ip_hdr(skb)->protocol; in r8152_tx_csum() 2034 ip_protocol = ipv6_hdr(skb)->nexthdr; in r8152_tx_csum() 2038 ip_protocol = IPPROTO_RAW; in r8152_tx_csum() 2042 if (ip_protocol == IPPROTO_TCP) in r8152_tx_csum() 2044 else if (ip_protocol == IPPROTO_UDP) in r8152_tx_csum()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 803 req.ip_protocol = CFA_DECAP_FILTER_ALLOC_REQ_IP_PROTOCOL_UDP; in hwrm_cfa_decap_filter_alloc()
|
D | bnxt_hsi.h | 6303 u8 ip_protocol; member 6487 u8 ip_protocol; member
|
/Linux-v5.10/net/core/ |
D | filter.c | 10018 case bpf_ctx_range(struct sk_reuseport_md, ip_protocol): in sk_reuseport_is_valid_access() 10070 case offsetof(struct sk_reuseport_md, ip_protocol): in sk_reuseport_convert_ctx_access()
|