Lines Matching refs:first
591 void dns_server_unlink_all(DnsServer *first) {
594 if (!first)
597 next = first->servers_next;
598 dns_server_unlink(first);
603 void dns_server_unlink_marked(DnsServer *first) {
606 if (!first)
609 next = first->servers_next;
611 if (first->marked)
612 dns_server_unlink(first);
617 void dns_server_mark_all(DnsServer *first) {
618 if (!first)
621 first->marked = true;
622 dns_server_mark_all(first->servers_next);
625 DnsServer *dns_server_find(DnsServer *first, int family, const union in_addr_union *in_addr) {
628 LIST_FOREACH(servers, s, first)
678 /* If no DNS server was chosen so far, pick the first one */