Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dforward.c227 daemon->last_server = NULL; in forward_query()
265 else if (!(start = daemon->last_server) || in forward_query()
540 struct server *last_server; in reply_query() local
543 for (last_server = daemon->servers; last_server; last_server = last_server->next) in reply_query()
544 …if (!(last_server->flags & (SERV_LITERAL_ADDRESS | SERV_HAS_DOMAIN | SERV_FOR_NODOTS | SERV_NO_ADD… in reply_query()
545 sockaddr_isequal(&last_server->addr, &serveraddr)) in reply_query()
547 server = last_server; in reply_query()
552 daemon->last_server = server; in reply_query()
743 struct server *last_server; in tcp_request() local
797 if (type != 0 || (daemon->options & OPT_ORDER) || !daemon->last_server) in tcp_request()
[all …]
Ddnsmasq.h657 struct server *last_server; member
/external/c-ares/
Dares_send.c103 query->server = channel->last_server; in ares_send()
105 channel->last_server = (channel->last_server + 1) % channel->nservers; in ares_send()
Dares_private.h290 int last_server; member
Dares_init.c175 channel->last_server = 0; in ares_init_options()