Lines Matching refs:msgs
144 struct mmsghdr msgs[NUM_RECV_MSGS]; in TestRecvMMsg() local
145 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_RECV_MSGS); in TestRecvMMsg()
153 msgs[i].msg_hdr.msg_iov = &io[i]; in TestRecvMMsg()
154 msgs[i].msg_hdr.msg_iovlen = 1; in TestRecvMMsg()
155 msgs[i].msg_len = sizeof(struct msghdr); in TestRecvMMsg()
163 static_cast<size_t>(recvmmsg(fd_acc, msgs, NUM_RECV_MSGS, 0, &ts))) in TestRecvMMsg()
189 struct mmsghdr msgs[NUM_SEND_MSGS]; in SendMMsg() local
190 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_SEND_MSGS); in SendMMsg()
195 msgs[i].msg_hdr.msg_iov = &io[i]; in SendMMsg()
196 msgs[i].msg_hdr.msg_iovlen = 1; in SendMMsg()
197 msgs[i].msg_len = sizeof(struct msghdr); in SendMMsg()
200 if (sendmmsg(fd, msgs, NUM_SEND_MSGS, 0) < 0) { in SendMMsg()