Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dconnect_force_port.c140 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 60123, 0); in test_connect_force_port()
146 server_fd = start_server(AF_INET6, SOCK_STREAM, NULL, 60124, 0); in test_connect_force_port()
152 server_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 60123, 0); in test_connect_force_port()
158 server_fd = start_server(AF_INET6, SOCK_DGRAM, NULL, 60124, 0); in test_connect_force_port()
Dsockopt_inherit.c103 static int start_server(void) in start_server() function
192 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()
149 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_syncookie()
Dtest_local_storage.c49 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_test_local_storage()
Dload_bytes_relative.c26 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_load_bytes_relative()
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()
Dtcp_rtt.c164 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_tcp_rtt()
Dcls_redirect.c36 static int start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server() function
99 *server = start_server(addr, len, type); in set_up_conn()
Dsock_fields.c266 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test()
Dcg_storage_multi.c65 server_fd = start_server(AF_INET, SOCK_DGRAM, NULL, 0, 0); in connect_send()
Dtcp_hdr_options.c124 sk_fds->srv_fd = start_server(AF_INET6, SOCK_STREAM, LO_ADDR6, 0, 0); in sk_fds_connect()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_tcp_check_syncookie_user.c21 static int start_server(const struct sockaddr *addr, socklen_t len) in start_server() function
233 server = start_server((const struct sockaddr *)&addr4, sizeof(addr4)); in main()
237 server_v6 = start_server((const struct sockaddr *)&addr6, in main()
Dtest_socket_cookie.c26 static int start_server(void) in start_server() function
167 server_fd = start_server(); in run_test()
Dnetwork_helpers.h36 int start_server(int family, int type, const char *addr, __u16 port,
Dnetwork_helpers.c69 int start_server(int family, int type, const char *addr_str, __u16 port, in start_server() function
Dtest_sock_addr.c1166 static int start_server(int type, const struct sockaddr_storage *addr, in start_server() function
1405 servfd = start_server(test->type, &requested_addr, addr_len); in run_bind_test_case()
1441 servfd = start_server(test->type, &expected_addr, addr_len); in run_connect_test_case()
1498 servfd = start_server(test->type, &server_addr, addr_len); in run_xmsg_test_case()
/Linux-v5.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()