Home
last modified time | relevance | path

Searched defs:client_fd (Results 1 – 25 of 27) sorted by relevance

12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_tcp_skb.c63 static int talk_to_cgroup(int *client_fd, int *listen_fd, int *service_fd, in talk_to_cgroup()
109 static int talk_to_outside(int *client_fd, int *listen_fd, int *service_fd, in talk_to_outside()
239 int client_fd = -1, listen_fd = -1; in test_cgroup_tcp_skb() local
H A Dmptcp.c85 static int verify_tsk(int map_fd, int client_fd) in verify_tsk()
123 static int verify_msk(int map_fd, int client_fd, __u32 token) in verify_msk()
158 int client_fd, prog_fd, map_fd, err; in run_test() 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
371 int server_fd, client_fd, err; in run_subflow() local
H A Dsockopt_inherit.c44 int client_fd; in server_thread() local
98 int server_fd = -1, client_fd; in run_test() local
H A Dsk_lookup.c376 static int tcp_echo_test(int client_fd, int server_fd) in tcp_echo_test()
393 static int udp_echo_test(int client_fd, int server_fd) in udp_echo_test()
541 int client_fd, reuse_conn_fd = -1; in run_lookup_prog() local
804 int client_fd, server_fd, err; in drop_on_lookup() local
1093 int err, client_fd, connected_fd, server_fd; in run_sk_assign_connected() local
1164 int map_fd, server_fd, client_fd; in run_multi_prog_lookup() local
H A Dtcp_rtt.c50 static int verify_sk(int map_fd, int client_fd, const char *msg, __u32 invoked, in verify_sk()
108 int 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 Dcgroup_v1v2.c50 int server_fd, client_fd, cgroup_fd; test_cgroup_v1v2() 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 Dmap_kptr_race.c148 int listen_fd = -1, client_fd = -1, map_id; in test_sk_ls_leak() local
H A Dxdp_synproxy.c60 int server_fd = -1, client_fd = -1, accept_fd = -1; in test_synproxy() local
H A Dbpf_nf.c59 int srv_fd = -1, client_fd = -1, srv_client_fd = -1; in test_bpf_nf_ct() local
H A Dtest_tc_tunnel.c76 int client_fd; member
174 int client_fd, server_fd; in connect_client_to_server() local
H A Dns_current_pid_tgid.c124 int verdict, map, server_fd = -1, client_fd = -1; in test_current_pid_tgid_sk_msg() local
H A Dcg_storage_multi.c59 int server_fd = -1, client_fd = -1; in connect_send() local
H A Dicmp_send_kfunc.c116 int srv_fd = -1, client_fd = -1; in trigger_prog_read_icmp_errqueue() local
H A Dcgrp_local_storage.c87 int server_fd = 0, client_fd = 0, err = 0; in test_attach_cgroup() local
H A Dtc_redirect.c430 int listen_fd = -1, accept_fd = -1, client_fd = -1; in test_tcp() local
646 int opt = 1, accept_fd = -1, client_fd = -1, listen_fd, err; in test_inet_dtime() local
/linux/tools/testing/selftests/net/
H A Dbind_timewait.c45 int server_fd, client_fd, child_fd, ret; in create_timewait_socket() local
/linux/tools/testing/selftests/landlock/
H A Dnet_test.c351 test_sendmsg(struct __test_metadata * const _metadata,const struct protocol_variant * prot,int client_fd,int server_fd,const struct service_fixture * srv,bool bind_denied,bool send_denied) test_sendmsg() argument
789 int inval_fd, bind_fd, client_fd, status, ret; test_bind_and_connect() local
1166 int bind_fd, client_fd, status; TEST_F() local
1295 int bind_fd, client_fd, status; TEST_F() local
1383 int srv0_fd, tmp_fd, client_fd, res; TEST_F() local
1479 int srv0_fd, srv1_fd, client_fd, child, status, res; TEST_F() local
1683 int client_fd, srv0_fd, srv1_fd, res; TEST_F() local
[all...]
/linux/tools/testing/vsock/
H A Dvsock_test.c1259 int listen_fd, client_fd, i; in test_double_bind_connect_server() local
1290 int i, client_fd; in test_double_bind_connect_client() local
1312 int client_fd; in test_unsent_bytes_server() local
1358 int client_fd; in test_unread_bytes_server() local
H A Dutil.c204 int client_fd; in vsock_bind_connect() local
276 int fd, client_fd, old_errno; in vsock_accept() local
H A Dvsock_perf.c142 int client_fd; in run_receiver() local
H A Dvsock_diag_test.c406 int client_fd; in test_connect_server() local
/linux/tools/testing/selftests/ublk/
H A Dkublk.c1215 static int ublk_shmem_recv_fd(int client_fd) in ublk_shmem_recv_fd()
1310 int client_fd, memfd, idx, ret; in ublk_shmem_handle_client() local
/linux/tools/testing/selftests/drivers/net/hw/
H A Dncdevmem.c864 int client_fd; in do_server() local

12