server_fd 10 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c static int connect_to_server(int server_fd) server_fd 22 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c if (getsockname(server_fd, (struct sockaddr *)&addr, &len)) { server_fd 173 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c int server_fd = -1, client_fd; server_fd 192 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c server_fd = start_server(); server_fd 193 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c if (CHECK_FAIL(server_fd < 0)) server_fd 197 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c (void *)&server_fd))) server_fd 204 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c client_fd = connect_to_server(server_fd); server_fd 220 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c close(server_fd); server_fd 90 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c static int connect_to_server(int server_fd) server_fd 102 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c if (getsockname(server_fd, (struct sockaddr *)&addr, &len)) { server_fd 119 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c static int run_test(int cgroup_fd, int server_fd) server_fd 148 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c client_fd = connect_to_server(server_fd); server_fd 250 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c int server_fd, cgroup_fd; server_fd 257 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c server_fd = start_server(); server_fd 258 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c if (CHECK_FAIL(server_fd < 0)) server_fd 262 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c (void *)&server_fd))) server_fd 269 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c CHECK_FAIL(run_test(cgroup_fd, server_fd)); server_fd 271 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c close(server_fd); server_fd 61 tools/testing/selftests/bpf/test_socket_cookie.c static int connect_to_server(int server_fd) server_fd 73 tools/testing/selftests/bpf/test_socket_cookie.c if (getsockname(server_fd, (struct sockaddr *)&addr, &len)) { server_fd 137 tools/testing/selftests/bpf/test_socket_cookie.c int server_fd = -1; server_fd 167 tools/testing/selftests/bpf/test_socket_cookie.c server_fd = start_server(); server_fd 168 tools/testing/selftests/bpf/test_socket_cookie.c if (server_fd == -1) server_fd 171 tools/testing/selftests/bpf/test_socket_cookie.c client_fd = connect_to_server(server_fd); server_fd 183 tools/testing/selftests/bpf/test_socket_cookie.c close(server_fd); server_fd 50 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c static int connect_to_server(int server_fd) server_fd 56 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c if (getsockname(server_fd, (struct sockaddr *)&addr, &len)) { server_fd 119 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c static int run_test(int server_fd, int results_fd, bool xdp) server_fd 145 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c client = connect_to_server(server_fd); server_fd 149 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c srv_client = accept(server_fd, NULL, 0); server_fd 61 tools/testing/selftests/net/tcp_inq.c int server_fd = (int)(unsigned long)arg; server_fd 71 tools/testing/selftests/net/tcp_inq.c fd = accept(server_fd, (struct sockaddr *)&addr, &addrlen); server_fd 92 tools/testing/selftests/net/tcp_inq.c close(server_fd); server_fd 105 tools/testing/selftests/net/tcp_inq.c int server_fd, fd; server_fd 124 tools/testing/selftests/net/tcp_inq.c server_fd = socket(family, SOCK_STREAM, 0); server_fd 125 tools/testing/selftests/net/tcp_inq.c if (server_fd < 0) server_fd 128 tools/testing/selftests/net/tcp_inq.c if (setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, server_fd 131 tools/testing/selftests/net/tcp_inq.c if (bind(server_fd, (const struct sockaddr *)&listen_addr, server_fd 134 tools/testing/selftests/net/tcp_inq.c if (listen(server_fd, 128) == -1) server_fd 137 tools/testing/selftests/net/tcp_inq.c (void *)(unsigned long)server_fd) != 0)