/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | connect_force_port.c | 140 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()
|
H A D | sockopt_inherit.c | 103 static int start_server(void) in start_server() function 192 server_fd = start_server(); in run_test()
|
H A D | test_local_storage.c | 49 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_test_local_storage() 50 if (CHECK(serv_sk < 0, "start_server", "failed to start server\n")) in test_test_local_storage()
|
H A D | btf_skc_cls_ingress.c | 100 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()
|
H A D | load_bytes_relative.c | 26 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_load_bytes_relative()
|
H A D | cgroup_skb_sk_lookup.c | 16 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in run_lookup_test() 17 if (CHECK(serv_sk < 0, "start_server", "failed to start server\n")) in run_lookup_test()
|
H A D | sk_assign.c | 77 start_server(const struct sockaddr *addr, socklen_t len, int type) in start_server() function 313 server = start_server(addr, test->len, test->type); in test_sk_assign()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | connect_force_port.c | 141 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()
|
H A D | cgroup_v1v2.c | 52 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()
|
H A D | setget_sockopt.c | 49 sfd = start_server(family, SOCK_STREAM, in test_tcp() 51 if (!ASSERT_GE(sfd, 0, "start_server")) in test_tcp() 77 sfd = start_server(family, SOCK_DGRAM, in test_udp() 79 if (!ASSERT_GE(sfd, 0, "start_server")) in test_udp() 96 sfd = start_server(family, SOCK_STREAM, in test_ktls() 98 if (!ASSERT_GE(sfd, 0, "start_server")) in test_ktls()
|
H A D | sock_destroy.c | 39 serv = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_tcp_client() 40 if (!ASSERT_GE(serv, 0, "start_server")) in test_tcp_client() 76 serv = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_tcp_server() 77 if (!ASSERT_GE(serv, 0, "start_server")) in test_tcp_server() 117 serv = start_server(AF_INET6, SOCK_DGRAM, NULL, 0, 0); in test_udp_client() 118 if (!ASSERT_GE(serv, 0, "start_server")) in test_udp_client()
|
H A D | sockopt_inherit.c | 101 static int start_server(void) in start_server() function 163 server_fd = start_server(); in run_test() 164 if (!ASSERT_GE(server_fd, 0, "start_server")) in run_test()
|
H A D | mptcp.c | 205 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_base() 206 if (!ASSERT_GE(server_fd, 0, "start_server")) in test_base() 281 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in run_mptcpify() 282 if (!ASSERT_GE(server_fd, 0, "start_server")) { in run_mptcpify()
|
H A D | btf_skc_cls_ingress.c | 83 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_conn() 138 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_syncookie()
|
H A D | load_bytes_relative.c | 26 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_load_bytes_relative()
|
H A D | netns_cookie.c | 41 server_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_netns_cookie() 42 if (CHECK(server_fd < 0, "start_server", "errno %d\n", errno)) in test_netns_cookie()
|
H A D | cgroup_skb_sk_lookup.c | 16 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in run_lookup_test() 17 if (CHECK(serv_sk < 0, "start_server", "failed to start server\n")) in run_lookup_test()
|
H A D | socket_cookie.c | 48 server_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_socket_cookie() 49 if (CHECK(server_fd < 0, "start_server", "errno %d\n", errno)) in test_socket_cookie()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 20 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()
|
H A D | network_helpers.h | 46 int start_server(int family, int type, const char *addr, __u16 port,
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 21 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()
|
H A D | test_socket_cookie.c | 26 static int start_server(void) in start_server() function 167 server_fd = start_server(); in run_test()
|
H A D | network_helpers.h | 36 int start_server(int family, int type, const char *addr, __u16 port,
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_inq.c | 59 void *start_server(void *arg) in start_server() function 136 if (pthread_create(&server_thread, NULL, start_server, in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tcp_inq.c | 59 void *start_server(void *arg) in start_server() function 136 if (pthread_create(&server_thread, NULL, start_server, in main()
|