Lines Matching refs:send_mh
89 struct mmsghdr *const send_mh = tail_alloc(sizeof(*send_mh) * IOV_MAX1); in test_mmsg_name() local
106 send_mh[i].msg_hdr.msg_iov = &send_iov[i]; in test_mmsg_name()
107 send_mh[i].msg_hdr.msg_iovlen = 1; in test_mmsg_name()
108 send_mh[i].msg_hdr.msg_name = &send_addr[i]; in test_mmsg_name()
109 send_mh[i].msg_hdr.msg_namelen = i + 1; in test_mmsg_name()
110 send_mh[i].msg_hdr.msg_control = 0; in test_mmsg_name()
111 send_mh[i].msg_hdr.msg_controllen = 0; in test_mmsg_name()
112 send_mh[i].msg_hdr.msg_flags = 0; in test_mmsg_name()
115 rc = send_mmsg(send_fd, send_mh, IOV_MAX1, MSG_DONTWAIT); in test_mmsg_name()
131 print_msghdr(&send_mh[i].msg_hdr, i + 1); in test_mmsg_name()
139 send_mh[i].msg_hdr.msg_name = 0; in test_mmsg_name()
140 send_mh[i].msg_hdr.msg_namelen = 0; in test_mmsg_name()
150 rc = send_mmsg(-1, &send_mh[IOV_MAX], 2, MSG_DONTWAIT); in test_mmsg_name()
153 print_msghdr(&send_mh[IOV_MAX].msg_hdr, 0); in test_mmsg_name()
156 &send_mh[IOV_MAX1], 2, rc, errno2name()); in test_mmsg_name()
158 rc = send_mmsg(send_fd, send_mh, IOV_MAX1, MSG_DONTWAIT); in test_mmsg_name()
175 print_msghdr(&send_mh[i].msg_hdr, 0); in test_mmsg_name()