Home | History | Annotate | Download | only in tests-mx32

Lines Matching refs:msg

41 	 struct msghdr *const msg, const int flags)
45 return recvmsg(recv_fd, msg, flags);
57 TAIL_ALLOC_OBJECT_CONST_PTR(struct msghdr, msg);
58 msg->msg_name = addr;
59 msg->msg_namelen = sizeof(*addr);
60 msg->msg_iov = iov;
61 msg->msg_iovlen = 1;
62 msg->msg_control = 0;
63 msg->msg_controllen = 0;
64 msg->msg_flags = 0;
66 int rc = send_recv(send_fd, recv_fd, msg, MSG_DONTWAIT);
74 (int) msg->msg_namelen, rc);
77 rc = send_recv(send_fd, recv_fd, msg, MSG_DONTWAIT);
82 recv_fd, addr->sun_path, (int) msg->msg_namelen, rc);
84 msg->msg_name = 0;
85 rc = send_recv(send_fd, recv_fd, msg, MSG_DONTWAIT);
89 recv_fd, (int) msg->msg_namelen, rc);
92 msg->msg_name = addr;
93 msg->msg_namelen = offsetof_sun_path;
96 rc = send_recv(send_fd, recv_fd, msg, MSG_DONTWAIT);
100 recv_fd, (int) offsetof_sun_path, (int) msg->msg_namelen, rc);
102 msg->msg_namelen = sizeof(struct sockaddr);
103 msg->msg_name = ((void *) (addr + 1)) - msg->msg_namelen;
104 rc = send_recv(send_fd, recv_fd, msg, MSG_DONTWAIT);
110 ((struct sockaddr_un *) msg->msg_name)->sun_path,
111 (int) sizeof(struct sockaddr), (int) msg->msg_namelen, rc);
113 rc = send_recv(send_fd, recv_fd, msg, MSG_DONTWAIT);
115 recv_fd, (int) msg->msg_namelen, rc, errno2name());
130 rc = send_recv(send_fd, -1, msg + 1, 0);
132 msg + 1, rc, errno2name());