Home | History | Annotate | Download | only in common

Lines Matching refs:iov

138     struct iovec iov;
141 iov.iov_base = const_cast<uint8_t*>(message.data());
142 iov.iov_len = message.size();
145 header.msg_iov = &iov;
202 struct iovec iov[3];
204 iov[0].iov_base = static_cast<void*>(&ip);
205 iov[0].iov_len = sizeof(ip);
206 iov[1].iov_base = static_cast<void*>(&udp);
207 iov[1].iov_len = sizeof(udp);
209 iov[2].iov_base = static_cast<void*>(const_cast<uint8_t*>(message.data()));
210 iov[2].iov_len = message.size();
224 header.msg_iov = iov;
225 header.msg_iovlen = sizeof(iov) / sizeof(iov[0]);
239 struct iovec iov;
240 iov.iov_base = message->data();
241 iov.iov_len = message->capacity();
242 header.msg_iov = &iov;
273 struct iovec iov[3];
274 iov[0].iov_base = &ip;
275 iov[0].iov_len = sizeof(ip);
276 iov[1].iov_base = &udp;
277 iov[1].iov_len = sizeof(udp);
278 iov[2].iov_base = message->data();
279 iov[2].iov_len = message->capacity();
281 ssize_t bytesRead = ::readv(mSocketFd, iov, 3);