Lines Matching refs:dlist
213 struct domain_list *oldlist, *dprev, *dlist, *dlist_next;
252 for (dlist = dns_list->domainlist, dprev = dns_list->domainlist;
253 dlist; i++, dlist = dlist_next) {
256 FNAME, i, dlist->name);
261 if (strcmp(oldlist->name, dlist->name) == 0) {
264 "resolv.conf", FNAME, dlist->name);
265 if (dprev == dlist) {
266 dprev = dlist->next;
267 dns_list->domainlist = dlist->next;
269 dprev->next = dlist->next;
273 dlist_next = dlist->next;
275 dprev = dlist;
277 free(dlist);
282 for (dlist = dns_list->domainlist; dlist; dlist = dlist->next) {
284 FNAME, dlist->name);
285 fprintf(dhcp6_resolv_file, "%s", dlist->name);
286 if (dlist->next != NULL)