Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dsetget_sockopt.c49 sfd = start_server(family, SOCK_STREAM, in test_tcp()
77 sfd = start_server(family, SOCK_DGRAM, in test_udp()
96 sfd = start_server(family, SOCK_STREAM, in test_ktls()
166 sfd = start_server(family, SOCK_STREAM, in test_nonstandard_opt()
H A Dcgroup_v1v2.c59 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_cgroup_v1v2()
74 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_cgroup_v1v2()
H A Dsock_destroy.c39 serv = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_tcp_client()
76 serv = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_tcp_server()
117 serv = start_server(AF_INET6, SOCK_DGRAM, NULL, 0, 0); in test_udp_client()
H A Dns_current_pid_tgid.c105 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_current_pid_tgid_cgrp()
151 server_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_current_pid_tgid_sk_msg()
H A Dsock_addr.c280 int (*start_server)(int family, int type, const char *addr_str, member
317 .start_server = start_server,
328 .start_server = kernel_start_server,
339 .start_server = kernel_start_server,
2285 serv = test->ops->start_server(test->socket_family, test->socket_type, in test_bind()
2328 serv = start_server(test->socket_family, test->socket_type, in test_connect()
2392 serv = start_server(test->socket_family, test->socket_type, in test_xmsg()
2491 serv = test->ops->start_server(test->socket_family, test->socket_type, in test_getsockname()
2520 serv = start_server(test->socket_family, test->socket_type, in test_getpeername()
H A Dload_bytes_relative.c26 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_load_bytes_relative()
H A Dsocket_cookie.c48 server_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_socket_cookie()
H A Dcgroup_skb_sk_lookup.c16 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in run_lookup_test()
H A Dcgroup_tcp_skb.c80 *listen_fd = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in talk_to_cgroup()
121 *listen_fd = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in talk_to_outside()
H A Dtcp_custom_syncookie.c96 server = start_server(test_case->family, test_case->type, test_case->addr, 0, 0); in create_connection()
H A Dsk_storage_tracing.c53 listen_fd = start_server(AF_INET6, SOCK_STREAM, LO_ADDR6, 0, 0); in do_test()
H A Dtcpbpf_user.c54 listen_fd = start_server(AF_INET6, SOCK_STREAM, LO_ADDR6, 0, 0); in run_test()
H A Dnetns_cookie.c55 server_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in test_netns_cookie()
H A Dmptcp.c203 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_base()
281 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in run_mptcpify()
H A Dtcp_rtt.c169 server_fd = start_server(AF_INET, SOCK_STREAM, NULL, 0, 0); in test_tcp_rtt()
H A Dtest_local_storage.c154 serv_sk = start_server(AF_INET6, SOCK_STREAM, NULL, 0, 0); in test_test_local_storage()
H A Dxdp_synproxy.c128 server_fd = start_server(AF_INET, SOCK_STREAM, "198.18.0.2", 8080, 0); in test_synproxy()
H A Dbpf_iter_setsockopt.c113 listen_fd = start_server(AF_INET6, SOCK_STREAM, "::1", 0, 0); in do_bpf_iter_setsockopt()
H A Dnet_timestamping.c181 sfd = start_server(family, SOCK_STREAM, in test_tcp()
H A Dbpf_nf.c75 srv_fd = start_server(AF_INET, SOCK_STREAM, "127.0.0.1", 0, TIMEOUT_MS); in test_bpf_nf_ct()
H A Dip_check_defrag.c193 srv_fd = start_server(family, SOCK_DGRAM, NULL, SERVER_PORT, 0); in test_bpf_ip_check_defrag_ok()
H A Dvrf_socket_lookup.c88 fd = start_server(AF_INET, sotype, ip, port, TIMEOUT_MS); in make_server()
/linux-6.15/tools/testing/selftests/net/
H A Dtcp_inq.c59 void *start_server(void *arg) in start_server() function
136 if (pthread_create(&server_thread, NULL, start_server, in main()
/linux-6.15/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h64 int start_server(int family, int type, const char *addr, __u16 port,

12