Lines Matching refs:msghdr
223 struct msghdr msg; in sendFdPipe()
304 struct msghdr msghdr; in receiveFdPipe() local
318 msghdr.msg_name = NULL; in receiveFdPipe()
319 msghdr.msg_namelen = 0; in receiveFdPipe()
320 msghdr.msg_iov = iov; in receiveFdPipe()
321 msghdr.msg_iovlen = 1; in receiveFdPipe()
322 msghdr.msg_accrights = (caddr_t) &newfd; /* addr of descriptor */ in receiveFdPipe()
323 msghdr.msg_accrightslen = sizeof(int); /* receive 1 descriptor */ in receiveFdPipe()
332 msghdr.msg_name = NULL; in receiveFdPipe()
333 msghdr.msg_namelen = 0; in receiveFdPipe()
334 msghdr.msg_iov = iov; in receiveFdPipe()
335 msghdr.msg_iovlen = 1; in receiveFdPipe()
337 msghdr.msg_control = (caddr_t) cmptr; in receiveFdPipe()
338 msghdr.msg_controllen = CONTROLLEN; in receiveFdPipe()
345 if ( ( nRead = recvmsg(PipeFD, &msghdr, 0) ) > 0 ) in receiveFdPipe()
351 if ( ( ( nRead = recvmsg(PipeFD, &msghdr, 0) ) > 0 ) && in receiveFdPipe()
352 ( msghdr.msg_controllen == CONTROLLEN ) ) in receiveFdPipe()