/linux-6.3-rc2/drivers/infiniband/core/ |
A D | ud_header.c | 187 { STRUCT_FIELD(grh, ip_version), 320 int ip_version, in ib_ud_header_init() argument 327 grh_present = grh_present && !ip_version; in ib_ud_header_init() 333 if (udp_present && ip_version != 4 && ip_version != 6) in ib_ud_header_init() 355 if (ip_version == 6 || grh_present) { in ib_ud_header_init() 356 header->grh.ip_version = 6; in ib_ud_header_init() 367 if (ip_version == 4) { in ib_ud_header_init() 379 if (udp_present && ip_version) in ib_ud_header_init() 398 header->ipv4_present = ip_version == 4; in ib_ud_header_init() 498 if (header->grh.ip_version != 6) { in ib_ud_header_unpack() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
A D | fs_tracepoint.c | 79 MASK_VAL_L2(u8, ip_version, ip_version); in print_lyr_2_4_hdrs() 86 (ip_version.m == 0xf && ip_version.v == 4)) { in print_lyr_2_4_hdrs() 99 (ip_version.m == 0xf && ip_version.v == 6)) { in print_lyr_2_4_hdrs()
|
/linux-6.3-rc2/include/linux/mlx5/ |
A D | fs_helpers.h | 73 ip_version) == 0xf && in _mlx5_fs_is_outer_ipv_flow() 75 ip_version) == version; in _mlx5_fs_is_outer_ipv_flow()
|
/linux-6.3-rc2/drivers/net/wireguard/selftest/ |
A D | allowedips.c | 86 u8 ip_version; member 127 if (node->ip_version == 4) { in horrible_mask_self() 129 } else if (node->ip_version == 6) { in horrible_mask_self() 159 if (other->ip_version == node->ip_version && in horrible_insert_ordered() 190 node->ip_version = 4; in horrible_allowedips_insert_v4() 207 node->ip_version = 6; in horrible_allowedips_insert_v6() 220 if (node->ip_version == 4 && horrible_match_v4(node, ip)) in horrible_allowedips_lookup_v4() 232 if (node->ip_version == 6 && horrible_match_v6(node, ip)) in horrible_allowedips_lookup_v6()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_tun_encap.c | 41 int ip_version; member 78 u8 ip_version; in mlx5e_tc_set_attr_rx_tun() local 87 if (ip_version == 4) { in mlx5e_tc_set_attr_rx_tun() 98 else if (ip_version == 6) { in mlx5e_tc_set_attr_rx_tun() 991 if (a->ip_version == 4 && b->ip_version == 4) in cmp_route_info() 994 else if (a->ip_version == 6 && b->ip_version == 6) in cmp_route_info() 1193 if (key.ip_version == 4) in mlx5e_attach_decap_route() 1250 key.ip_version = 4; in mlx5e_attach_encap_route() 1253 key.ip_version = 6; in mlx5e_attach_encap_route() 1632 key.ip_version = 4; in mlx5e_init_fib_work_ipv4() [all …]
|
A D | fs_tt_redirect.c | 69 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in fs_udp_set_dport_flow() 70 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, in fs_udp_set_dport_flow() 164 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in fs_udp_create_groups()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | fs_tcp.c | 33 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in accel_fs_tcp_set_ipv4_flow() 34 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 4); in accel_fs_tcp_set_ipv4_flow() 52 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in accel_fs_tcp_set_ipv6_flow() 53 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 6); in accel_fs_tcp_set_ipv6_flow() 200 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ip_version); in accel_fs_tcp_create_groups()
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | rxtimestamp.c | 277 bool run_test_case(struct socket_type *s, int test_num, char ip_version, in run_test_case() argument 292 if (ip_version == '4') { in run_test_case() 305 printf("Starting testcase %d over ipv%c...\n", test_num, ip_version); in run_test_case() 345 ip_version); in run_test_case()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | fs_ttc.c | 217 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ip_version); in mlx5_generate_ttc_rule() 218 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5_generate_ttc_rule() 314 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ip_version); in mlx5_create_ttc_table_groups() 376 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_version); in mlx5_generate_inner_ttc_rule() 377 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5_generate_inner_ttc_rule() 455 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_version); in mlx5_create_inner_ttc_table_groups()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | dr_ste_v0.c | 754 if (spec->ip_version) { in dr_ste_v0_build_eth_l2_src_dst_tag() 755 if (spec->ip_version == IP_VERSION_IPV4) { in dr_ste_v0_build_eth_l2_src_dst_tag() 757 spec->ip_version = 0; in dr_ste_v0_build_eth_l2_src_dst_tag() 760 spec->ip_version = 0; in dr_ste_v0_build_eth_l2_src_dst_tag() 944 if (spec->ip_version) { in dr_ste_v0_build_eth_l2_src_or_dst_tag() 945 if (spec->ip_version == IP_VERSION_IPV4) { in dr_ste_v0_build_eth_l2_src_or_dst_tag() 947 spec->ip_version = 0; in dr_ste_v0_build_eth_l2_src_or_dst_tag() 950 spec->ip_version = 0; in dr_ste_v0_build_eth_l2_src_or_dst_tag() 1123 if (spec->ip_version) { in dr_ste_v0_build_eth_l2_tnl_tag() 1126 spec->ip_version = 0; in dr_ste_v0_build_eth_l2_tnl_tag() [all …]
|
A D | dr_ste_v1.c | 1086 if (spec->ip_version == IP_VERSION_IPV4) { in dr_ste_v1_build_eth_l2_src_dst_tag() 1088 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_src_dst_tag() 1091 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_src_dst_tag() 1092 } else if (spec->ip_version) { in dr_ste_v1_build_eth_l2_src_dst_tag() 1265 if (spec->ip_version == IP_VERSION_IPV4) { in dr_ste_v1_build_eth_l2_src_or_dst_tag() 1267 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag() 1270 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag() 1271 } else if (spec->ip_version) { in dr_ste_v1_build_eth_l2_src_or_dst_tag() 1436 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_tnl_tag() 1439 spec->ip_version = 0; in dr_ste_v1_build_eth_l2_tnl_tag() [all …]
|
/linux-6.3-rc2/net/caif/ |
A D | chnl_net.c | 61 const u8 *ip_version; in chnl_recv_cb() local 77 ip_version = skb_header_pointer(skb, 0, 1, &buf); in chnl_recv_cb() 78 if (!ip_version) { in chnl_recv_cb() 83 switch (*ip_version >> 4) { in chnl_recv_cb()
|
/linux-6.3-rc2/drivers/net/ethernet/emulex/benet/ |
A D | be_hw.h | 314 u8 ip_version; /* dword 1 */ member 348 u8 ip_version; /* dword 1 */ member
|
/linux-6.3-rc2/include/linux/qed/ |
A D | tcp_common.h | 77 u8 ip_version; member 143 u8 ip_version; member
|
A D | qed_nvmetcp_if.h | 58 u8 ip_version; member
|
A D | qed_iscsi_if.h | 63 u8 ip_version; member
|
/linux-6.3-rc2/include/rdma/ |
A D | ib_pack.h | 181 u8 ip_version; member 278 int ip_version,
|
/linux-6.3-rc2/drivers/infiniband/hw/qedr/ |
A D | qedr_iw_cm.c | 124 params->cm_info->ip_version == QED_TCP_IPV4) in qedr_iw_mpa_request() 588 cm_info->ip_version = QED_TCP_IPV4; in qedr_iw_connect() 603 in_params.cm_info.ip_version = QED_TCP_IPV6; in qedr_iw_connect() 689 iparams.ip_version = QED_TCP_IPV4; in qedr_iw_create_listen() 696 iparams.ip_version = QED_TCP_IPV6; in qedr_iw_create_listen()
|
/linux-6.3-rc2/drivers/media/platform/st/sti/hva/ |
A D | hva-hw.c | 392 hva->ip_version = hva_hw_get_ip_version(hva); in hva_hw_probe() 394 if (hva->ip_version == HVA_VERSION_UNKNOWN) { in hva_hw_probe() 400 hva->ip_version); in hva_hw_probe()
|
A D | hva.h | 357 unsigned long int ip_version; member
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_nvmetcp.h | 56 u8 ip_version; member
|
A D | qed_nvmetcp.c | 328 p_tcp->ip_version = p_conn->ip_version; in qed_sp_nvmetcp_conn_offload() 329 if (p_tcp->ip_version == TCP_IPV6) { in qed_sp_nvmetcp_conn_offload() 706 con->ip_version = conn_info->ip_version; in qed_nvmetcp_offload_conn()
|
A D | qed_iscsi.c | 68 u8 ip_version; member 347 p_tcp->ip_version = p_conn->ip_version; in qed_sp_iscsi_conn_offload() 419 p_tcp2->ip_version = p_conn->ip_version; in qed_sp_iscsi_conn_offload() 1233 con->ip_version = conn_info->ip_version; in qed_iscsi_offload_conn()
|
A D | qed_iwarp.h | 156 u8 ip_version; member
|
/linux-6.3-rc2/drivers/staging/gdm724x/ |
A D | gdm_lte.c | 571 char ip_version = 0; in gdm_lte_netif_rx() local 645 ip_version = buf[0] >> 4; in gdm_lte_netif_rx() 646 if (ip_version == IP_VERSION_4) { in gdm_lte_netif_rx() 649 } else if (ip_version == IP_VERSION_6) { in gdm_lte_netif_rx() 653 netdev_err(dev, "Unknown IP version %d\n", ip_version); in gdm_lte_netif_rx()
|