Searched refs:srv_curr (Results 1 – 1 of 1) sorted by relevance
59 struct ares_srv_reply *srv_curr; in ares_parse_srv_reply() local125 srv_curr = ares_malloc_data(ARES_DATATYPE_SRV_REPLY); in ares_parse_srv_reply()126 if (!srv_curr) in ares_parse_srv_reply()133 srv_last->next = srv_curr; in ares_parse_srv_reply()137 srv_head = srv_curr; in ares_parse_srv_reply()139 srv_last = srv_curr; in ares_parse_srv_reply()142 srv_curr->priority = DNS__16BIT(vptr); in ares_parse_srv_reply()144 srv_curr->weight = DNS__16BIT(vptr); in ares_parse_srv_reply()146 srv_curr->port = DNS__16BIT(vptr); in ares_parse_srv_reply()149 status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len); in ares_parse_srv_reply()