Lines Matching defs:resp
236 AddrInfoResponse resp = {
259 p = serialize_addrinfo(p, k, &resp.header.length, (uint8_t*) &buffer + BUFSIZE - (uint8_t*) p);
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) };
291 NameInfoResponse resp = {
308 resp.header.length = sizeof(NameInfoResponse) + hl + sl;
309 resp.hostlen = hl;
310 resp.servlen = sl;
312 iov[0] = (struct iovec) { .iov_base = &resp, .iov_len = sizeof(NameInfoResponse) };
745 const RHeader *resp;
751 resp = &packet->rheader;
752 assert(resp);
754 assert(length == resp->length);
756 if (resp->type == RESPONSE_DIED) {
764 q = lookup_query(resolve, resp->id);
768 switch (resp->type) {
784 p = (const uint8_t*) resp + sizeof(AddrInfoResponse);