Home
last modified time | relevance | path

Searched refs:clientfd (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c1398 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 …]
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtest_probe_write_user_user.c15 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()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0001-resolve-Use-sockaddr-pointer-type-for-bind.patch14 r = connect(clientfd, &SERVER_ADDRESS, sizeof(SERVER_ADDRESS));
36 assert_se((clientfd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)) >= 0);
39 - r = connect(clientfd, &SERVER_ADDRESS, sizeof(SERVER_ADDRESS));
40 + r = connect(clientfd, (struct sockaddr*)&SERVER_ADDRESS, sizeof(SERVER_ADDRESS));
/OK3568_Linux_fs/kernel/tools/testing/selftests/android/ion/
H A Dipcsocket.c43 int clientfd; in opensocket() local
77 clientfd = ret; in opensocket()
78 *sockfd = clientfd; in opensocket()
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dquectel-qmi-proxy.c511 int clientfd = -1; in accept_qmi_connection() local
516 clientfd = accept(serverfd, (struct sockaddr *)addr, &alen); in accept_qmi_connection()
522 qmi_con->ClientFd= clientfd; in accept_qmi_connection()
528 cfmakenoblock(clientfd); in accept_qmi_connection()
531 static void cleanup_qmi_connection(int clientfd) { in cleanup_qmi_connection() argument
537 if (qmi_con->ClientFd == clientfd) { in cleanup_qmi_connection()
709 static int recv_qmi_from_client(PQCQMIMSG pQMI, unsigned size, int clientfd) { in recv_qmi_from_client() argument
726 qmi_msg->ClientFd = clientfd; in recv_qmi_from_client()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A D0006-chardev-connect-socket-to-a-spawned-command.patch32 …-chardev 'socket,id=chrtpm0,cmd=exec swtpm socket --terminate --ctrl type=unixio,,clientfd=0 --tpm…