Lines Matching refs:k
159 size_t k; in uv__udp_recvmmsg() local
165 for (k = 0; k < chunks; ++k) { in uv__udp_recvmmsg()
166 iov[k].iov_base = buf->base + k * UV__UDP_DGRAM_MAXSIZE; in uv__udp_recvmmsg()
167 iov[k].iov_len = UV__UDP_DGRAM_MAXSIZE; in uv__udp_recvmmsg()
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()
176 msgs[k].msg_len = 0; in uv__udp_recvmmsg()
196 for (k = 0; k < (size_t) nread && handle->recv_cb != NULL; k++) { in uv__udp_recvmmsg()
198 if (msgs[k].msg_hdr.msg_flags & MSG_TRUNC) in uv__udp_recvmmsg()
201 chunk_buf = uv_buf_init(iov[k].iov_base, iov[k].iov_len); in uv__udp_recvmmsg()
203 msgs[k].msg_len, in uv__udp_recvmmsg()
205 msgs[k].msg_hdr.msg_name, in uv__udp_recvmmsg()