Lines Matching refs:msgh
111 struct msghdr msgh; in sendtosocket() local
137 memset(&msgh, 0, sizeof(msgh)); in sendtosocket()
138 msgh.msg_control = &cmsg_b; in sendtosocket()
139 msgh.msg_controllen = CMSG_LEN(len); in sendtosocket()
142 msgh.msg_iov = &iov; in sendtosocket()
143 msgh.msg_iovlen = 1; in sendtosocket()
144 cmsg = CMSG_FIRSTHDR(&msgh); in sendtosocket()
150 ret = sendmsg(sockfd, &msgh, MSG_DONTWAIT); in sendtosocket()
167 struct msghdr msgh; in receivefromsocket() local
190 memset(&msgh, 0, sizeof(msgh)); in receivefromsocket()
191 msgh.msg_control = &cmsg_b; in receivefromsocket()
192 msgh.msg_controllen = CMSG_LEN(len); in receivefromsocket()
195 msgh.msg_iov = &iov; in receivefromsocket()
196 msgh.msg_iovlen = 1; in receivefromsocket()
197 cmsg = CMSG_FIRSTHDR(&msgh); in receivefromsocket()
202 ret = recvmsg(sockfd, &msgh, MSG_DONTWAIT); in receivefromsocket()