Searched refs:ip_protocol (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/
H A Dtest_select_reuseport_common.h25 __u32 ip_protocol; member in struct:data_check
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_select_reuseport_kern.c80 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 Dtest_assign_reuse.c38 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 Dtc_tun_gre.c65 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 Dfs_tt_redirect.c67 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 Dtc_tun.c976 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 Dtc_ct.c383 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 Dfs_ttc.c210 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 Dipsec_fs_roce.c53 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 Dmacsec_fs.c1283 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 Dfs_tcp.c31 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 Dipsec_fs.c1211 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 Den_fs_ethtool.c210 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 Dct_fs_smfs.c57 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 Dfs_tracepoint.c139 PRINT_MASKED_VAL_L2(u8, ip_protocol, ip_protocol, p, "%02x");
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c257 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 Dfs.c69 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 Dbridge_mcast.c788 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 Dr8169_main.c4274 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 Ddr_ste.c874 spec->ip_protocol = IFC_GET_CLR(fte_match_set_lyr_2_4, mask, ip_protocol, clr);
H A Ddr_matcher.c18 return (spec->ip_protocol || spec->frag || spec->tcp_flags ||
H A Ddr_ste_v1.c1232 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 Ddr_ste_v0.c856 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 Ddr_types.h549 u32 ip_protocol:8; /* IP protocol */ member in struct:mlx5dr_match_spec
/linux-master/include/uapi/linux/
H A Dbpf.h6515 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ member in struct:sk_reuseport_md

Completed in 281 milliseconds

12