Searched refs:last_server (Results 1 – 5 of 5) sorted by relevance
203 daemon->last_server = NULL; in forward_query()235 else if (!(start = daemon->last_server) || daemon->forwardcount++ > FORWARD_TEST || in forward_query()467 struct server* last_server; in reply_query() local470 for (last_server = daemon->servers; last_server; last_server = last_server->next) in reply_query()471 if (!(last_server->flags & in reply_query()473 sockaddr_isequal(&last_server->addr, &serveraddr)) { in reply_query()474 server = last_server; in reply_query()478 if (!(daemon->options & OPT_ALL_SERVERS)) daemon->last_server = server; in reply_query()638 struct server* last_server; in tcp_request() local685 if (type != 0 || (daemon->options & OPT_ORDER) || !daemon->last_server) in tcp_request()[all …]
628 struct server* last_server; member
103 query->server = channel->last_server; in ares_send()105 channel->last_server = (channel->last_server + 1) % channel->nservers; in ares_send()
305 int last_server; member
174 channel->last_server = 0; in ares_init_options()