Searched refs:naptr_curr (Results 1 – 1 of 1) sorted by relevance
38 struct ares_naptr_reply *naptr_curr; in ares_parse_naptr_reply() local76 naptr_curr = ares_malloc_data(ARES_DATATYPE_NAPTR_REPLY); in ares_parse_naptr_reply()77 if (naptr_curr == NULL) { in ares_parse_naptr_reply()84 naptr_last->next = naptr_curr; in ares_parse_naptr_reply()86 naptr_head = naptr_curr; in ares_parse_naptr_reply()88 naptr_last = naptr_curr; in ares_parse_naptr_reply()90 naptr_curr->order = ares_dns_rr_get_u16(rr, ARES_RR_NAPTR_ORDER); in ares_parse_naptr_reply()91 naptr_curr->preference = ares_dns_rr_get_u16(rr, ARES_RR_NAPTR_PREFERENCE); in ares_parse_naptr_reply()94 naptr_curr->flags = (unsigned char *)ares_strdup( in ares_parse_naptr_reply()96 if (naptr_curr->flags == NULL) { in ares_parse_naptr_reply()[all …]