Lines Matching defs:iov
246 struct iovec iov[2];
270 iov[0] = (struct iovec) { .iov_base = &resp, .iov_len = sizeof(AddrInfoResponse) };
271 iov[1] = (struct iovec) { .iov_base = &buffer, .iov_len = resp.header.length - sizeof(AddrInfoResponse) };
273 mh.msg_iov = iov;
274 mh.msg_iovlen = ELEMENTSOF(iov);
300 struct iovec iov[3];
312 iov[0] = (struct iovec) { .iov_base = &resp, .iov_len = sizeof(NameInfoResponse) };
313 iov[1] = (struct iovec) { .iov_base = (void*) host, .iov_len = hl };
314 iov[2] = (struct iovec) { .iov_base = (void*) serv, .iov_len = sl };
316 mh.msg_iov = iov;
317 mh.msg_iovlen = ELEMENTSOF(iov);
943 struct iovec iov[3];
975 iov[mh.msg_iovlen++] = (struct iovec) { .iov_base = &req, .iov_len = sizeof(AddrInfoRequest) };
977 iov[mh.msg_iovlen++] = (struct iovec) { .iov_base = (void*) node, .iov_len = req.node_len };
979 iov[mh.msg_iovlen++] = (struct iovec) { .iov_base = (void*) service, .iov_len = req.service_len };
980 mh.msg_iov = iov;
1017 struct iovec iov[2];
1046 iov[0] = (struct iovec) { .iov_base = &req, .iov_len = sizeof(NameInfoRequest) };
1047 iov[1] = (struct iovec) { .iov_base = (void*) sa, .iov_len = salen };
1049 mh.msg_iov = iov;