Home
last modified time | relevance | path

Searched defs:server_fd (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_v1v2.c10 static int run_test(int cgroup_fd, int server_fd, bool classid) in run_test()
48 int server_fd, client_fd, cgroup_fd; in test_cgroup_v1v2() local
H A Dconnect_force_port.c49 static int run_test(int cgroup_fd, int server_fd, int family, int type) in run_test()
135 int server_fd, cgroup_fd; in test_connect_force_port() local
H A Dmptcp.c156 static int run_test(int cgroup_fd, int server_fd, bool is_mptcp) in run_test()
194 int server_fd, cgroup_fd; in test_base() local
235 static int verify_mptcpify(int server_fd, int client_fd) in verify_mptcpify()
269 int server_fd, client_fd, err = 0; in run_mptcpify() local
H A Dsk_lookup.c310 static int tcp_recv_send(int server_fd) in tcp_recv_send()
355 static int udp_recv_send(int server_fd) in udp_recv_send()
435 static int tcp_echo_test(int client_fd, int server_fd) in tcp_echo_test()
452 static int udp_echo_test(int client_fd, int server_fd) in udp_echo_test()
867 int client_fd, server_fd, err; in drop_on_lookup() local
1149 int err, client_fd, connected_fd, server_fd; in run_sk_assign_connected() local
1220 int map_fd, server_fd, client_fd; in run_multi_prog_lookup() local
H A Dtcp_rtt.c91 static int run_test(int cgroup_fd, int server_fd) in run_test()
149 int server_fd, cgroup_fd; in test_tcp_rtt() local
H A Dsockopt_inherit.c12 static int connect_to_server(int server_fd) in connect_to_server()
141 int server_fd = -1, client_fd; in run_test() local
H A Dload_bytes_relative.c12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
H A Dnetns_cookie.c15 int server_fd = -1, client_fd = -1, cgroup_fd = -1; in test_netns_cookie() local
H A Dsocket_cookie.c18 int server_fd = 0, client_fd = 0, cgroup_fd = 0, err = 0; in test_socket_cookie() local
H A Dxdp_synproxy.c60 int server_fd = -1, client_fd = -1, accept_fd = -1; in test_synproxy() local
H A Dns_current_pid_tgid.c82 int server_fd = -1, ret = -1, err; in test_current_pid_tgid_cgrp() local
H A Dcgrp_local_storage.c70 int server_fd = 0, client_fd = 0, err = 0; in test_attach_cgroup() local
H A Dcg_storage_multi.c59 int server_fd = -1, client_fd = -1; in connect_send() local
H A Dsk_assign.c157 run_test(int server_fd, const struct sockaddr *addr, socklen_t len, int type) in run_test()
/openbmc/linux/tools/testing/selftests/net/
H A Dtcp_inq.c61 int server_fd = (int)(unsigned long)arg; in start_server() local
105 int server_fd, fd; in main() local
H A Dbind_timewait.c45 int server_fd, client_fd, child_fd, ret; in create_timewait_socket() local
/openbmc/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c196 int fastopen_connect(int server_fd, const char *data, unsigned int data_len, in fastopen_connect()
262 int connect_to_fd_opts(int server_fd, const struct network_helper_opts *opts) in connect_to_fd_opts()
324 int connect_to_fd(int server_fd, int timeout_ms) in connect_to_fd()
333 int connect_fd_to_fd(int client_fd, int server_fd, int timeout_ms) in connect_fd_to_fd()
H A Dtest_tcp_check_syncookie_user.c120 static int run_test(int server_fd, int results_fd, bool xdp, in run_test()
204 static bool get_port(int server_fd, in_port_t *port) in get_port()
H A Dxdp_hw_metadata.c231 static int verify_metadata(struct xsk *rx_xsk, int rxq, int server_fd, clockid_t clock_id) in verify_metadata()
410 int server_fd = -1; in main() local
/openbmc/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c289 int server_fd, client_fd, fd, pid, ret, val; in test_socket() local