Searched refs:clientfd (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/samples/bpf/ |
D | test_probe_write_user_user.c | 15 int serverfd, serverconnfd, clientfd, map_fd; in main() local 60 assert((clientfd = socket(AF_INET, SOCK_STREAM, 0)) > 0); in main() 87 assert(connect(clientfd, &mapped_addr, sizeof(mapped_addr)) == 0); in main() 96 assert(getpeername(clientfd, &tmp_addr, &sockaddr_len) == 0); in main()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1398 int clientfd = -1; in run_bind_test_case() local 1413 clientfd = connect_to_server(test->type, &expected_addr, addr_len); in run_bind_test_case() 1414 if (clientfd == -1) in run_bind_test_case() 1421 close(clientfd); in run_bind_test_case() 1432 int clientfd = -1; in run_connect_test_case() local 1445 clientfd = connect_to_server(test->type, &requested_addr, addr_len); in run_connect_test_case() 1446 if (clientfd == -1) in run_connect_test_case() 1450 if (cmp_peer_addr(clientfd, &expected_addr)) in run_connect_test_case() 1453 if (cmp_local_ip(clientfd, &expected_src_addr)) in run_connect_test_case() 1458 clientfd = fastconnect_to_server(&requested_addr, addr_len); in run_connect_test_case() [all …]
|
/Linux-v5.10/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 43 int clientfd; in opensocket() local 77 clientfd = ret; in opensocket() 78 *sockfd = clientfd; in opensocket()
|