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