Lines Matching refs:msgh
42 struct msghdr msgh;
61 msgh.msg_control = msg_control.control;
62 msgh.msg_controllen = CMSG_SPACE(sizeof(int));
63 msgh.msg_iov = &iov;
64 msgh.msg_iovlen = 1;
65 msgh.msg_name = NULL;
66 msgh.msg_namelen = 0;
67 cmsgh = CMSG_FIRSTHDR(&msgh);
74 if (sendmsg(sp[0], &msgh, 0) < 0) {
86 if (sendmsg(sp[1], &msgh, 0) < 0) {
114 msgh.msg_control = msg_control.control;
115 msgh.msg_controllen = CMSG_SPACE(sizeof(int) * 2);
116 msgh.msg_iov = &iov;
117 msgh.msg_iovlen = 1;
118 msgh.msg_name = NULL;
119 msgh.msg_namelen = 0;
120 cmsgh = CMSG_FIRSTHDR(&msgh);
128 if (sendmsg(sl[0], &msgh, 0) < 0) {
143 if (recvmsg(sp[1], &msgh, 0) < 0) {
149 if (!(cmsgh = CMSG_FIRSTHDR(&msgh)))
160 if (recvmsg(ts, &msgh, 0) < 0) {
168 if (!(cmsgh = CMSG_FIRSTHDR(&msgh)))