Lines Matching defs:servers

163 static isc_sockaddr_t *servers = NULL;
310 if (master_servers != NULL && master_servers != servers)
313 master_servers = servers;
772 * isc_mem_put of servers as it sets the servers pointer
775 if (master_servers != NULL && master_servers != servers)
779 if (servers != NULL)
780 isc_mem_put(gmctx, servers, ns_alloc * sizeof(isc_sockaddr_t));
892 if (servers != NULL) {
893 if (master_servers == servers)
895 isc_mem_put(gmctx, servers, ns_alloc * sizeof(isc_sockaddr_t));
909 servers = isc_mem_get(gmctx, ns_alloc * sizeof(isc_sockaddr_t));
910 if (servers == NULL)
915 isc_sockaddr_fromin(&servers[0], &in, dnsport);
920 isc_sockaddr_fromin6(&servers[(have_ipv4 ? 1 : 0)],
925 servers = isc_mem_get(gmctx, ns_alloc * sizeof(isc_sockaddr_t));
926 if (servers == NULL)
934 isc_sockaddr_fromin(&servers[i],
940 isc_sockaddr_fromin6(&servers[i],
1502 if (servers != NULL) {
1503 if (master_servers == servers)
1505 isc_mem_put(gmctx, servers, ns_alloc * sizeof(isc_sockaddr_t));
1512 servers = isc_mem_get(gmctx, ns_alloc * sizeof(isc_sockaddr_t));
1513 if (servers == NULL)
1516 memset(servers, 0, ns_alloc * sizeof(isc_sockaddr_t));
1517 ns_total = get_addresses(server, (in_port_t)port, servers, ns_alloc);
2518 sendrequest(&servers[ns_inuse], soaquery, &request);
2535 if (result == DNS_R_TSIGERRORSET && servers != NULL) {
2674 if (master_servers != NULL && master_servers != servers)
2732 sendrequest(&servers[ns_inuse], soaquery, &request);
3137 * If we have both the zone and the servers we have enough information
3205 sendrequest(&servers[ns_inuse], soaquery, &request);