Lines Matching refs:abuf
47 int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, in ares_parse_ptr_reply() argument
68 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_ptr_reply()
69 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_ptr_reply()
74 aptr = abuf + HFIXEDSZ; in ares_parse_ptr_reply()
75 status = ares__expand_name_for_response(aptr, abuf, alen, &ptrname, &len); in ares_parse_ptr_reply()
78 if (aptr + len + QFIXEDSZ > abuf + alen) in ares_parse_ptr_reply()
96 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_name, &len); in ares_parse_ptr_reply()
100 if (aptr + RRFIXEDSZ > abuf + alen) in ares_parse_ptr_reply()
115 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_ptr_reply()
150 status = ares__expand_name_for_response(aptr, abuf, alen, &rr_data, in ares_parse_ptr_reply()
163 if (aptr > abuf + alen) in ares_parse_ptr_reply()