Home
last modified time | relevance | path

Searched refs:start_server (Results 1 – 25 of 27) sorted by relevance

12

/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dconnect_force_port.c141 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 60123, 0); in test_connect_force_port()
147 server_fd = start_server(AF_INET6, SOCK_STREAM, NULL, 60124, 0); in test_connect_force_port()
153 server_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 60123, 0); in test_connect_force_port()
159 server_fd = start_server(AF_INET6, SOCK_DGRAM, NULL, 60124, 0); in test_connect_force_port()
Dcgroup_v1v2.c52 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, port, 0); in test_cgroup_v1v2()
67 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, port, 0); in test_cgroup_v1v2()
Dsockopt_inherit.c103 static int start_server(void) in start_server() function
193 server_fd = start_server(); in run_test()
Dbtf_skc_cls_ingress.c100 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_conn()
155 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_syncookie()
Dload_bytes_relative.c26 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_load_bytes_relative()
Dsocket_cookie.c48 server_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_socket_cookie()
Dcgroup_skb_sk_lookup.c16 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in run_lookup_test()
Dsk_assign.c61 start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server() function
300 server = start_server(addr, test->len, test->type); in test_sk_assign()
Dnetns_cookie.c41 server_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_netns_cookie()
Dsk_storage_tracing.c53 listen_fd = start_server(AF_INET6, SOCK_STREAM, LO_ADDR6, 0, 0); in do_test()
Dtcp_rtt.c157 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_tcp_rtt()
Dmptcp.c148 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_base()
Dtcpbpf_user.c58 listen_fd = start_server(AF_INET6, SOCK_STREAM, LO_ADDR6, 0, 0); in run_test()
Dtest_local_storage.c173 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_test_local_storage()
Dcls_redirect.c37 static int start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server() function
100 *server = start_server(addr, len, type); in set_up_conn()
Dbpf_iter_setsockopt.c113 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in do_bpf_iter_setsockopt()
Dbpf_tcp_ca.c276 lfd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_dctcp_fallback()
Dcg_storage_multi.c65 server_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0); in connect_send()
Dcgroup_getset_retval.c445 sock_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0); in test_cgroup_getset_retval()
Dsock_fields.c281 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0xcafe, 0); in test()
/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_tcp_check_syncookie_user.c20 static int start_server(const struct sockaddr *addr, socklen_t len, bool dual) in start_server() function
262 server = start_server((const struct sockaddr *)&addr4, sizeof(addr4), in main()
267 server_v6 = start_server((const struct sockaddr *)&addr6, in main()
272 server_dual = start_server((const struct sockaddr *)&addr6dual, in main()
Dnetwork_helpers.h43 int start_server(int family, int type, const char *addr, __u16 port,
Dtest_sock_addr.c941 static int start_server(int type, const struct sockaddr_storage *addr, in start_server() function
1180 servfd = start_server(test->type, &requested_addr, addr_len); in run_bind_test_case()
1216 servfd = start_server(test->type, &expected_addr, addr_len); in run_connect_test_case()
1273 servfd = start_server(test->type, &server_addr, addr_len); in run_xmsg_test_case()
Dnetwork_helpers.c133 int start_server(int family, int type, const char *addr_str, __u16 port, in start_server() function
/linux-5.19.10/tools/testing/selftests/net/
Dtcp_inq.c59 void *start_server(void *arg) in start_server() function
136 if (pthread_create(&server_thread, NULL, start_server, in main()

12