• Home
  • Raw
  • Download

Lines Matching refs:answer

168 	struct dns_rr		*answer;  member
198 u_char answer[ANSWER_BUFFER_SIZE]; in getrrsetbyname() local
236 answer, sizeof(answer)); in getrrsetbyname()
252 response = parse_dns_response(answer, length); in getrrsetbyname()
271 rrset->rri_ttl = response->answer->ttl; in getrrsetbyname()
281 rrset->rri_name = strdup(response->answer->name); in getrrsetbyname()
288 rrset->rri_nrdatas = count_dns_rr(response->answer, rrset->rri_rdclass, in getrrsetbyname()
290 rrset->rri_nsigs = count_dns_rr(response->answer, rrset->rri_rdclass, in getrrsetbyname()
311 for (rr = response->answer, index_ans = 0, index_sig = 0; in getrrsetbyname()
383 parse_dns_response(const u_char *answer, int size) in parse_dns_response() argument
394 cp = answer; in parse_dns_response()
413 resp->query = parse_dns_qsection(answer, size, &cp, in parse_dns_response()
421 resp->answer = parse_dns_rrsection(answer, size, &cp, in parse_dns_response()
423 if (resp->header.ancount && resp->answer == NULL) { in parse_dns_response()
429 resp->authority = parse_dns_rrsection(answer, size, &cp, in parse_dns_response()
437 resp->additional = parse_dns_rrsection(answer, size, &cp, in parse_dns_response()
448 parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count) in parse_dns_qsection() argument
468 length = dn_expand(answer, answer + size, *cp, name, in parse_dns_qsection()
494 parse_dns_rrsection(const u_char *answer, int size, const u_char **cp, in parse_dns_rrsection() argument
515 length = dn_expand(answer, answer + size, *cp, name, in parse_dns_rrsection()
590 free_dns_rr(p->answer); in free_dns_response()