Searched refs:msgh (Results 1 – 2 of 2) sorted by relevance
78 struct msghdr msgh = { 0 }; in virgl_vtest_receive_fd() local85 msgh.msg_name = NULL; in virgl_vtest_receive_fd()86 msgh.msg_namelen = 0; in virgl_vtest_receive_fd()87 msgh.msg_iov = &iovec; in virgl_vtest_receive_fd()88 msgh.msg_iovlen = 1; in virgl_vtest_receive_fd()89 msgh.msg_control = buf; in virgl_vtest_receive_fd()90 msgh.msg_controllen = sizeof(buf); in virgl_vtest_receive_fd()91 msgh.msg_flags = 0; in virgl_vtest_receive_fd()93 int size = recvmsg(socket_fd, &msgh, 0); in virgl_vtest_receive_fd()99 cmsgh = CMSG_FIRSTHDR(&msgh); in virgl_vtest_receive_fd()
82 struct msghdr msgh; in send_request() local110 memset(&msgh, 0, sizeof(msgh)); in send_request()111 msgh.msg_iov = iov; in send_request()112 msgh.msg_iovlen = sizeof(iov) / sizeof(iov[0]); in send_request()118 while (((count = sendmsg(fd, &msgh, MSG_NOSIGNAL)) < 0) in send_request()