Home | History | Annotate | Download | only in openbsd-compat

Lines Matching refs:answer

170 	struct dns_rr		*answer;
200 u_char answer[ANSWER_BUFFER_SIZE];
238 answer, sizeof(answer));
254 response = parse_dns_response(answer, length);
273 rrset->rri_ttl = response->answer->ttl;
282 /* copy name from answer section */
283 rrset->rri_name = strdup(response->answer->name);
290 rrset->rri_nrdatas = count_dns_rr(response->answer, rrset->rri_rdclass,
292 rrset->rri_nsigs = count_dns_rr(response->answer, rrset->rri_rdclass,
313 for (rr = response->answer, index_ans = 0, index_sig = 0;
385 parse_dns_response(const u_char *answer, int size)
396 cp = answer;
415 resp->query = parse_dns_qsection(answer, size, &cp,
422 /* parse answer section */
423 resp->answer = parse_dns_rrsection(answer, size, &cp,
425 if (resp->header.ancount && resp->answer == NULL) {
431 resp->authority = parse_dns_rrsection(answer, size, &cp,
439 resp->additional = parse_dns_rrsection(answer, size, &cp,
450 parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count)
470 length = dn_expand(answer, answer + size, *cp, name,
496 parse_dns_rrsection(const u_char *answer, int size, const u_char **cp,
517 length = dn_expand(answer, answer + size, *cp, name,
592 free_dns_rr(p->answer);