Home
last modified time | relevance | path

Searched refs:srvr_curr (Results 1 – 1 of 1) sorted by relevance

/external/c-ares/
Dares_options.c36 struct ares_addr_node *srvr_curr; in ares_get_servers() local
46 srvr_curr = ares_malloc_data(ARES_DATATYPE_ADDR_NODE); in ares_get_servers()
47 if (!srvr_curr) in ares_get_servers()
54 srvr_last->next = srvr_curr; in ares_get_servers()
58 srvr_head = srvr_curr; in ares_get_servers()
60 srvr_last = srvr_curr; in ares_get_servers()
63 srvr_curr->family = channel->servers[i].addr.family; in ares_get_servers()
64 if (srvr_curr->family == AF_INET) in ares_get_servers()
65 memcpy(&srvr_curr->addrV4, &channel->servers[i].addr.addrV4, in ares_get_servers()
66 sizeof(srvr_curr->addrV4)); in ares_get_servers()
[all …]