/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | sock_destroy.c | 43 clien = connect_to_fd(serv, 0); in test_tcp_client() 44 if (!ASSERT_GE(clien, 0, "connect_to_fd")) in test_tcp_client() 84 clien = connect_to_fd(serv, 0); in test_tcp_server() 85 if (!ASSERT_GE(clien, 0, "connect_to_fd")) in test_tcp_server() 121 clien = connect_to_fd(serv, 0); in test_udp_client() 122 if (!ASSERT_GE(clien, 0, "connect_to_fd")) in test_udp_client()
|
H A D | setget_sockopt.c | 54 cfd = connect_to_fd(sfd, 0); in test_tcp() 100 fd = connect_to_fd(sfd, 0); in test_ktls() 101 if (!ASSERT_GE(fd, 0, "connect_to_fd")) in test_ktls()
|
H A D | mptcp.c | 175 client_fd = connect_to_fd(server_fd, 0); in run_test() 287 client_fd = connect_to_fd(server_fd, 0); in run_mptcpify()
|
H A D | assign_reuse.c | 42 fd_cl = connect_to_fd(fd_sv, 100); in echo_test_udp() 66 fd_cl = connect_to_fd(fd_sv, 100); in echo_test_tcp()
|
H A D | btf_skc_cls_ingress.c | 94 cli_fd = connect_to_fd(listen_fd, 0); in test_conn() 149 cli_fd = connect_to_fd(listen_fd, 0); in test_syncookie()
|
H A D | load_bytes_relative.c | 52 client_fd = connect_to_fd(server_fd, 0); in test_load_bytes_relative()
|
H A D | netns_cookie.c | 45 client_fd = connect_to_fd(server_fd, 0); in test_netns_cookie() 46 if (CHECK(client_fd < 0, "connect_to_fd", "errno %d\n", errno)) in test_netns_cookie()
|
H A D | cgroup_skb_sk_lookup.c | 33 in_sk = connect_to_fd(serv_sk, 0); in run_lookup_test() 34 if (CHECK(in_sk < 0, "connect_to_fd", "errno %d\n", errno)) in run_lookup_test()
|
H A D | socket_cookie.c | 52 client_fd = connect_to_fd(server_fd, 0); in test_socket_cookie() 53 if (CHECK(client_fd < 0, "connect_to_fd", "errno %d\n", errno)) in test_socket_cookie()
|
H A D | connect_force_port.c | 118 fd = connect_to_fd(server_fd, 0); in run_test()
|
H A D | sk_storage_tracing.c | 58 active_fd = connect_to_fd(listen_fd, 0); in do_test() 59 if (CHECK(active_fd == -1, "connect_to_fd", "active_fd:%d errno:%d\n", in do_test()
|
H A D | tcp_rtt.c | 111 client_fd = connect_to_fd(server_fd, 0); in run_test()
|
H A D | tcpbpf_user.c | 58 cli_fd = connect_to_fd(listen_fd, 0); in run_test() 59 if (!ASSERT_NEQ(cli_fd, -1, "connect_to_fd(listen_fd)")) in run_test()
|
H A D | bpf_iter_setsockopt.c | 68 est_fds[i] = connect_to_fd(listen_fd, 0); in make_established()
|
H A D | cgrp_local_storage.c | 100 client_fd = connect_to_fd(server_fd, 0); in test_attach_cgroup() 101 if (!ASSERT_GE(client_fd, 0, "connect_to_fd")) in test_attach_cgroup()
|
H A D | lsm_cgroup.c | 222 client_fd = connect_to_fd(listen_fd, 0); in test_lsm_cgroup_functional() 223 ASSERT_GE(client_fd, 0, "connect_to_fd"); in test_lsm_cgroup_functional()
|
H A D | tc_redirect.c | 412 client_fd = connect_to_fd(listen_fd, TIMEOUT_MILLIS); in test_tcp() 413 if (!ASSERT_GE(client_fd, 0, "connect_to_fd")) in test_tcp() 545 cli_fd = connect_to_fd(srv_fd, TIMEOUT_MILLIS); in wait_netstamp_needed_key() 546 if (!ASSERT_GE(cli_fd, 0, "connect_to_fd")) in wait_netstamp_needed_key() 642 client_fd = connect_to_fd(listen_fd, TIMEOUT_MILLIS); in test_inet_dtime() 645 if (!ASSERT_GE(client_fd, 0, "connect_to_fd")) in test_inet_dtime()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_skc_cls_ingress.c | 111 cli_fd = connect_to_fd(listen_fd, 0); in test_conn() 166 cli_fd = connect_to_fd(listen_fd, 0); in test_syncookie()
|
H A D | load_bytes_relative.c | 52 client_fd = connect_to_fd(server_fd, 0); in test_load_bytes_relative()
|
H A D | cgroup_skb_sk_lookup.c | 33 in_sk = connect_to_fd(serv_sk, 0); in run_lookup_test() 34 if (CHECK(in_sk < 0, "connect_to_fd", "errno %d\n", errno)) in run_lookup_test()
|
H A D | connect_force_port.c | 117 fd = connect_to_fd(server_fd, 0); in run_test()
|
H A D | tcp_rtt.c | 121 client_fd = connect_to_fd(server_fd, 0); in run_test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 38 int connect_to_fd(int server_fd, int timeout_ms);
|
H A D | network_helpers.c | 156 int connect_to_fd(int server_fd, int timeout_ms) in connect_to_fd() function
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 54 int connect_to_fd(int server_fd, int timeout_ms);
|