| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_select_reuseport_kern.c | 79 data_check.ip_protocol = reuse_md->ip_protocol; in _select_by_skb_data() 97 * The ip_protocol could be a compile time decision in _select_by_skb_data() 101 * Otherwise, reuse_md->ip_protocol or in _select_by_skb_data() 104 if (data_check.ip_protocol == IPPROTO_TCP) { in _select_by_skb_data() 125 } else if (data_check.ip_protocol == IPPROTO_UDP) { in _select_by_skb_data()
|
| H A D | test_assign_reuse.c | 38 if (ctx->ip_protocol == IPPROTO_TCP) { in reuse_accept() 44 } else if (ctx->ip_protocol == IPPROTO_UDP) { in reuse_accept()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_tun_gre.c | 69 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, ip_protocol); in mlx5e_tc_tun_parse_gretap() 70 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_GRE); in mlx5e_tc_tun_parse_gretap()
|
| H A D | fs_tt_redirect.c | 67 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in fs_udp_set_dport_flow() 68 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_UDP); in fs_udp_set_dport_flow() 164 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_protocol); in fs_udp_create_groups()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_select_reuseport_common.h | 25 __u32 ip_protocol; member
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | select_reuseport.c | 243 expected.ip_protocol = IPPROTO_TCP; in check_data() 246 expected.ip_protocol = IPPROTO_UDP; in check_data() 282 result.eth_protocol, result.ip_protocol, in check_data() 285 expected.eth_protocol, expected.ip_protocol, in check_data()
|
| /linux/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"); in print_lyr_2_4_hdrs()
|
| /linux/drivers/net/ethernet/realtek/rtase/ |
| H A D | rtase_main.c | 1221 u8 ip_protocol; in rtase_tx_csum() local 1226 ip_protocol = ip_hdr(skb)->protocol; in rtase_tx_csum() 1231 ip_protocol = ipv6_hdr(skb)->nexthdr; in rtase_tx_csum() 1235 ip_protocol = IPPROTO_RAW; in rtase_tx_csum() 1239 if (ip_protocol == IPPROTO_TCP) in rtase_tx_csum() 1241 else if (ip_protocol == IPPROTO_UDP) in rtase_tx_csum()
|
| /linux/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); in mlx5_esw_bridge_ingress_igmp_fg_create() 901 MLX5_SET_TO_ONES(fte_match_param, rule_spec->match_criteria, outer_headers.ip_protocol); in mlx5_esw_bridge_ingress_igmp_fh_create() 902 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.ip_protocol, IPPROTO_IGMP); in mlx5_esw_bridge_ingress_igmp_fh_create()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | fs.c | 75 ip_protocol); in set_proto() 77 ip_protocol); in set_proto() 79 MLX5_SET(fte_match_set_lyr_2_4, outer_c, ip_protocol, mask); in set_proto() 80 MLX5_SET(fte_match_set_lyr_2_4, outer_v, ip_protocol, val); in set_proto() 409 MLX5_SET(fte_match_set_lyr_2_4, headers_c, ip_protocol, in parse_flow_attr() 411 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, in parse_flow_attr()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec_fs.c | 1583 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_protocol); in setup_fte_esp() 1584 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_ESP); in setup_fte_esp() 1672 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, spec->match_criteria, ip_protocol); in setup_fte_upper_proto_match() 1673 MLX5_SET(fte_match_set_lyr_2_4, spec->match_value, ip_protocol, upspec->proto); in setup_fte_upper_proto_match()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_ste_v1.c | 1096 DR_STE_SET_TAG(eth_l3_ipv4_5_tuple_v1, tag, protocol, spec, ip_protocol); in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag() 1406 DR_STE_SET_TAG(eth_l4_v1, tag, protocol, spec, ip_protocol); in dr_ste_v1_build_eth_ipv6_l3_l4_tag()
|
| H A D | dr_types.h | 549 u32 ip_protocol:8; /* IP protocol */ member
|
| /linux/drivers/net/usb/ |
| H A D | r8152.c | 2318 u8 ip_protocol; in r8152_tx_csum() local 2331 ip_protocol = ip_hdr(skb)->protocol; in r8152_tx_csum() 2336 ip_protocol = ipv6_hdr(skb)->nexthdr; in r8152_tx_csum() 2340 ip_protocol = IPPROTO_RAW; in r8152_tx_csum() 2344 if (ip_protocol == IPPROTO_TCP) in r8152_tx_csum() 2346 else if (ip_protocol == IPPROTO_UDP) in r8152_tx_csum()
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6610 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ 6605 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6610 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ 6605 __u32 ip_protocol; /* IP protocol. e.g. IPPROTO_TCP, IPPROTO_UDP */ global() member
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.c | 813 req->ip_protocol = CFA_DECAP_FILTER_ALLOC_REQ_IP_PROTOCOL_UDP; in hwrm_cfa_decap_filter_alloc()
|
| H A D | bnxt.c | 6311 req->ip_protocol = keys->basic.ip_proto; in bnxt_hwrm_cfa_ntuple_filter_alloc()
|
| /linux/net/core/ |
| H A D | filter.c | 11596 case bpf_ctx_range(struct sk_reuseport_md, ip_protocol): in sk_reuseport_is_valid_access() 11648 case offsetof(struct sk_reuseport_md, ip_protocol): in sk_reuseport_convert_ctx_access()
|
| /linux/include/linux/mlx5/ |
| H A D | mlx5_ifc.h | 587 u8 ip_protocol[0x8]; member
|