Searched refs:srv_curr (Results 1 – 1 of 1) sorted by relevance
48 struct ares_srv_reply *srv_curr; in ares_parse_srv_reply() local114 srv_curr = ares_malloc_data(ARES_DATATYPE_SRV_REPLY); in ares_parse_srv_reply()115 if (!srv_curr) in ares_parse_srv_reply()122 srv_last->next = srv_curr; in ares_parse_srv_reply()126 srv_head = srv_curr; in ares_parse_srv_reply()128 srv_last = srv_curr; in ares_parse_srv_reply()131 srv_curr->priority = DNS__16BIT(vptr); in ares_parse_srv_reply()133 srv_curr->weight = DNS__16BIT(vptr); in ares_parse_srv_reply()135 srv_curr->port = DNS__16BIT(vptr); in ares_parse_srv_reply()138 status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len); in ares_parse_srv_reply()