Lines Matching refs:msg_hdr
168 memset(&msgs[k].msg_hdr, 0, sizeof(msgs[k].msg_hdr)); in uv__udp_recvmmsg()
169 msgs[k].msg_hdr.msg_iov = iov + k; in uv__udp_recvmmsg()
170 msgs[k].msg_hdr.msg_iovlen = 1; in uv__udp_recvmmsg()
171 msgs[k].msg_hdr.msg_name = peers + k; in uv__udp_recvmmsg()
172 msgs[k].msg_hdr.msg_namelen = sizeof(peers[0]); in uv__udp_recvmmsg()
173 msgs[k].msg_hdr.msg_control = NULL; in uv__udp_recvmmsg()
174 msgs[k].msg_hdr.msg_controllen = 0; in uv__udp_recvmmsg()
175 msgs[k].msg_hdr.msg_flags = 0; in uv__udp_recvmmsg()
198 if (msgs[k].msg_hdr.msg_flags & MSG_TRUNC) in uv__udp_recvmmsg()
205 msgs[k].msg_hdr.msg_name, in uv__udp_recvmmsg()
357 p->msg_hdr.msg_name = NULL; in uv__udp_sendmsg_many()
358 p->msg_hdr.msg_namelen = 0; in uv__udp_sendmsg_many()
360 p->msg_hdr.msg_name = &req->addr; in uv__udp_sendmsg_many()
362 p->msg_hdr.msg_namelen = sizeof(struct sockaddr_in6); in uv__udp_sendmsg_many()
364 p->msg_hdr.msg_namelen = sizeof(struct sockaddr_in); in uv__udp_sendmsg_many()
366 p->msg_hdr.msg_namelen = sizeof(struct sockaddr_un); in uv__udp_sendmsg_many()
372 h[pkts].msg_hdr.msg_iov = (struct iovec*) req->bufs; in uv__udp_sendmsg_many()
373 h[pkts].msg_hdr.msg_iovlen = req->nbufs; in uv__udp_sendmsg_many()