Searched refs:send_sock (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | test-filter-mirror.c | 21 int send_sock[2], recv_sock[2]; in test_mirror() local 29 ret = socketpair(PF_UNIX, SOCK_STREAM, 0, send_sock); in test_mirror() 39 , send_sock[1], recv_sock[1]); in test_mirror() 53 ret = iov_send(send_sock[0], iov, 2, 0, sizeof(size) + sizeof(send_buf)); in test_mirror() 55 close(send_sock[0]); in test_mirror() 68 close(send_sock[0]); in test_mirror() 69 close(send_sock[1]); in test_mirror()
|
H A D | test-filter-redirector.c | 133 int backend_sock[2], send_sock; in test_redirector_rx() local 174 send_sock = unix_connect(sock_path1, NULL); in test_redirector_rx() 175 g_assert_cmpint(send_sock, !=, -1); in test_redirector_rx() 179 ret = iov_send(send_sock, iov, 2, 0, sizeof(size) + sizeof(send_buf)); in test_redirector_rx() 192 close(send_sock); in test_redirector_rx()
|