Lines Matching refs:forwarders
91 dns_forwarders_t *forwarders;
96 forwarders = isc_mem_get(fwdtable->mctx, sizeof(dns_forwarders_t));
97 if (forwarders == NULL)
100 ISC_LIST_INIT(forwarders->addrs);
112 ISC_LIST_APPEND(forwarders->addrs, nsa, link);
114 forwarders->fwdpolicy = fwdpolicy;
117 result = dns_rbt_addname(fwdtable->table, name, forwarders);
126 while (!ISC_LIST_EMPTY(forwarders->addrs)) {
127 sa = ISC_LIST_HEAD(forwarders->addrs);
128 ISC_LIST_UNLINK(forwarders->addrs, sa, link);
131 isc_mem_put(fwdtable->mctx, forwarders, sizeof(dns_forwarders_t));
187 dns_forwarders_t *forwarders = data;
193 while (!ISC_LIST_EMPTY(forwarders->addrs)) {
194 sa = ISC_LIST_HEAD(forwarders->addrs);
195 ISC_LIST_UNLINK(forwarders->addrs, sa, link);
198 isc_mem_put(fwdtable->mctx, forwarders, sizeof(dns_forwarders_t));