/linux-master/tools/testing/selftests/bpf/ |
H A D | test_select_reuseport_common.h | 25 __u32 ip_protocol; member in struct:data_check
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_select_reuseport_kern.c | 80 data_check.ip_protocol = reuse_md->ip_protocol; 98 * The ip_protocol could be a compile time decision 102 * Otherwise, reuse_md->ip_protocol or 105 if (data_check.ip_protocol == IPPROTO_TCP) { 126 } else if (data_check.ip_protocol == IPPROTO_UDP) {
|
H A D | test_assign_reuse.c | 38 if (ctx->ip_protocol == IPPROTO_TCP) { 44 } else if (ctx->ip_protocol == IPPROTO_UDP) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_gre.c | 65 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); 66 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_GRE);
|
H A D | fs_tt_redirect.c | 67 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); 68 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_UDP); 164 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol);
|
H A D | tc_tun.c | 976 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); 977 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_UDP);
|
H A D | tc_ct.c | 383 MLX5_SET(fte_match_set_lyr_2_4, headers_c, ip_protocol, 385 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_ttc.c | 210 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); 211 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, proto); 312 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_protocol); 327 MLX5_SET(fte_match_param, mc, outer_headers.ip_protocol, 0); 382 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_protocol); 383 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_protocol, proto); 454 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_protocol); 466 MLX5_SET(fte_match_param, mc, inner_headers.ip_protocol, 0);
|
H A D | ipsec_fs_roce.c | 53 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); 54 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_UDP); 745 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol);
|
H A D | macsec_fs.c | 1283 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); 1339 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); 1340 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_UDP);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | fs_tcp.c | 31 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); 32 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); 50 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); 51 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); 200 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol);
|
H A D | ipsec_fs.c | 1211 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); 1212 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_ESP); 1300 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, spec->match_criteria, ip_protocol); 1301 MLX5_SET(fte_match_set_lyr_2_4, spec->match_value, ip_protocol, upspec->proto);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 210 MLX5E_FTE_SET(headers_c, ip_protocol, 0xffff); 211 MLX5E_FTE_SET(headers_v, ip_protocol, IPPROTO_TCP); 228 MLX5E_FTE_SET(headers_c, ip_protocol, 0xffff); 229 MLX5E_FTE_SET(headers_v, ip_protocol, IPPROTO_UDP); 268 MLX5E_FTE_SET(headers_c, ip_protocol, l3_mask->proto); 269 MLX5E_FTE_SET(headers_v, ip_protocol, l3_val->proto); 283 MLX5E_FTE_SET(headers_c, ip_protocol, l3_mask->l4_proto); 284 MLX5E_FTE_SET(headers_v, ip_protocol, l3_val->l4_proto);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | ct_fs_smfs.c | 57 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); 327 outer_headers.ip_protocol) == IPPROTO_TCP; 329 outer_headers.ip_protocol) == IPPROTO_GRE;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.c | 139 PRINT_MASKED_VAL_L2(u8, ip_protocol, ip_protocol, p, "%02x");
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 257 expected.ip_protocol = IPPROTO_TCP; 260 expected.ip_protocol = IPPROTO_UDP; 290 result.eth_protocol, result.ip_protocol, 293 expected.eth_protocol, expected.ip_protocol,
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 69 ip_protocol); 71 ip_protocol); 73 MLX5_SET(fte_match_set_lyr_2_4, outer_c, ip_protocol, mask); 74 MLX5_SET(fte_match_set_lyr_2_4, outer_v, ip_protocol, val); 403 MLX5_SET(fte_match_set_lyr_2_4, headers_c, ip_protocol, 405 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge_mcast.c | 788 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.ip_protocol); 901 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, outer_headers.ip_protocol); 902 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.ip_protocol, IPPROTO_IGMP);
|
/linux-master/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 4274 u8 ip_protocol; local 4279 ip_protocol = ip_hdr(skb)->protocol; 4284 ip_protocol = ipv6_hdr(skb)->nexthdr; 4288 ip_protocol = IPPROTO_RAW; 4292 if (ip_protocol == IPPROTO_TCP) 4294 else if (ip_protocol == IPPROTO_UDP)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste.c | 874 spec->ip_protocol = IFC_GET_CLR(fte_match_set_lyr_2_4, mask, ip_protocol, clr);
|
H A D | dr_matcher.c | 18 return (spec->ip_protocol || spec->frag || spec->tcp_flags ||
|
H A D | dr_ste_v1.c | 1232 DR_STE_SET_TAG(eth_l3_ipv4_5_tuple_v1, tag, protocol, spec, ip_protocol); 1542 DR_STE_SET_TAG(eth_l4_v1, tag, protocol, spec, ip_protocol);
|
H A D | dr_ste_v0.c | 856 DR_STE_SET_TAG(eth_l3_ipv4_5_tuple, tag, protocol, spec, ip_protocol); 1185 DR_STE_SET_TAG(eth_l4, tag, protocol, spec, ip_protocol);
|
H A D | dr_types.h | 549 u32 ip_protocol:8; /* IP protocol */ member in struct:mlx5dr_match_spec
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 6515 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ member in struct:sk_reuseport_md
|