Home
last modified time | relevance | path

Searched refs:connect_to_fd (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_destroy.c43 clien = connect_to_fd(serv, 0); in test_tcp_client()
84 clien = connect_to_fd(serv, 0); in test_tcp_server()
121 clien = connect_to_fd(serv, 0); in test_udp_client()
H A Dsetget_sockopt.c54 cfd = connect_to_fd(sfd, 0); in test_tcp()
100 fd = connect_to_fd(sfd, 0); in test_ktls()
171 fd = connect_to_fd(sfd, 0); in test_nonstandard_opt()
H A Dassign_reuse.c42 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 Dload_bytes_relative.c52 client_fd = connect_to_fd(server_fd, 0); in test_load_bytes_relative()
H A Dsocket_cookie.c52 client_fd = connect_to_fd(server_fd, 0); in test_socket_cookie()
H A Dcgroup_skb_sk_lookup.c33 in_sk = connect_to_fd(serv_sk, 0); in run_lookup_test()
H A Dtcp_custom_syncookie.c100 client = connect_to_fd(server, 0); in create_connection()
H A Dsk_storage_tracing.c58 active_fd = connect_to_fd(listen_fd, 0); in do_test()
H A Dtcpbpf_user.c58 cli_fd = connect_to_fd(listen_fd, 0); in run_test()
H A Dtcp_rtt.c126 client_fd = connect_to_fd(server_fd, 0); in run_test()
H A Dconnect_force_port.c118 fd = connect_to_fd(server_fd, 0); in run_test()
H A Dsockopt_inherit.c138 client_fd = connect_to_fd(server_fd, 0); in run_test()
H A Dxdp_synproxy.c135 client_fd = connect_to_fd(server_fd, 10000); in test_synproxy()
H A Dbpf_iter_setsockopt.c68 est_fds[i] = connect_to_fd(listen_fd, 0); in make_established()
H A Dns_current_pid_tgid.c155 client_fd = connect_to_fd(server_fd, 0); in test_current_pid_tgid_sk_msg()
H A Dtc_redirect.c427 client_fd = connect_to_fd(listen_fd, TIMEOUT_MILLIS); in test_tcp()
560 cli_fd = connect_to_fd(srv_fd, TIMEOUT_MILLIS); in wait_netstamp_needed_key()
657 client_fd = connect_to_fd(listen_fd, TIMEOUT_MILLIS); in test_inet_dtime()
H A Dcg_storage_multi.c70 client_fd = connect_to_fd(server_fd, 0); in connect_send()
H A Dsock_fields.c292 cli_fd = connect_to_fd(listen_fd, 0); in test()
H A Dtcp_hdr_options.c105 sk_fds->active_fd = connect_to_fd(sk_fds->srv_fd, 0); in sk_fds_connect()
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h76 int connect_to_fd(int server_fd, int timeout_ms);
H A Dnetwork_helpers.c350 int connect_to_fd(int server_fd, int timeout_ms) in connect_to_fd() function