Searched refs:msgh (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/regress/sys/kern/unixsockets/
H A Dungc.c42 struct msghdr msgh; local
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,
[all...]
H A Dunsopassgc.c100 struct msghdr msgh; local
109 msgh.msg_control = msg_control.control;
110 msgh.msg_controllen = sizeof(msg_control.control);
111 msgh.msg_iov = &iov;
112 msgh.msg_iovlen = 1;
113 msgh.msg_name = NULL;
114 msgh.msg_namelen = 0;
115 cmsgh = CMSG_FIRSTHDR(&msgh);
124 if (sendmsg(s[0], &msgh, 0) < 0) {
144 struct msghdr msgh; local
206 struct msghdr msgh; local
[all...]
H A Dunfdpassfail.c49 struct msghdr msgh; local
74 msgh.msg_control = msg_control.control;
75 msgh.msg_controllen = sizeof(msg_control.control);
76 msgh.msg_iov = &iov;
77 msgh.msg_iovlen = 1;
78 msgh.msg_name = NULL;
79 msgh.msg_namelen = 0;
80 cmsgh = CMSG_FIRSTHDR(&msgh);
91 if (sendmsg(s[0], &msgh, 0) < 0) {

Completed in 102 milliseconds