Home
last modified time | relevance | path

Searched refs:clientaddr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/vsock/
Dutil.c235 } clientaddr; in vsock_accept() local
236 socklen_t clientaddr_len = sizeof(clientaddr.svm); in vsock_accept()
245 client_fd = accept(fd, &clientaddr.sa, &clientaddr_len); in vsock_accept()
257 if (clientaddr_len != sizeof(clientaddr.svm)) { in vsock_accept()
262 if (clientaddr.sa.sa_family != AF_VSOCK) { in vsock_accept()
264 clientaddr.sa.sa_family); in vsock_accept()
269 *clientaddrp = clientaddr.svm; in vsock_accept()
Dvsock_perf.c158 } clientaddr; in run_receiver() local
160 socklen_t clientaddr_len = sizeof(clientaddr.svm); in run_receiver()
179 client_fd = accept(fd, &clientaddr.sa, &clientaddr_len); in run_receiver()