Lines Matching defs:forwarders
79 dns_forwarders_t *forwarders;
84 forwarders = isc_mem_get(fwdtable->mctx, sizeof(dns_forwarders_t));
85 if (forwarders == NULL)
88 ISC_LIST_INIT(forwarders->fwdrs);
100 ISC_LIST_APPEND(forwarders->fwdrs, nfwd, link);
102 forwarders->fwdpolicy = fwdpolicy;
105 result = dns_rbt_addname(fwdtable->table, name, forwarders);
114 while (!ISC_LIST_EMPTY(forwarders->fwdrs)) {
115 fwd = ISC_LIST_HEAD(forwarders->fwdrs);
116 ISC_LIST_UNLINK(forwarders->fwdrs, fwd, link);
119 isc_mem_put(fwdtable->mctx, forwarders, sizeof(dns_forwarders_t));
128 dns_forwarders_t *forwarders;
134 forwarders = isc_mem_get(fwdtable->mctx, sizeof(dns_forwarders_t));
135 if (forwarders == NULL)
138 ISC_LIST_INIT(forwarders->fwdrs);
151 ISC_LIST_APPEND(forwarders->fwdrs, fwd, link);
153 forwarders->fwdpolicy = fwdpolicy;
156 result = dns_rbt_addname(fwdtable->table, name, forwarders);
165 while (!ISC_LIST_EMPTY(forwarders->fwdrs)) {
166 fwd = ISC_LIST_HEAD(forwarders->fwdrs);
167 ISC_LIST_UNLINK(forwarders->fwdrs, fwd, link);
170 isc_mem_put(fwdtable->mctx, forwarders, sizeof(dns_forwarders_t));
242 dns_forwarders_t *forwarders = data;
248 while (!ISC_LIST_EMPTY(forwarders->fwdrs)) {
249 fwd = ISC_LIST_HEAD(forwarders->fwdrs);
250 ISC_LIST_UNLINK(forwarders->fwdrs, fwd, link);
253 isc_mem_put(fwdtable->mctx, forwarders, sizeof(dns_forwarders_t));