Home
last modified time | relevance | path

Searched refs:current_dns_server (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-server.c102 m->current_dns_server && in dns_server_new()
103 m->current_dns_server->type == DNS_SERVER_FALLBACK) in dns_server_new()
166 if (s->link && s->link->current_dns_server == s) in dns_server_unlink()
169 if (s->manager->current_dns_server == s) in dns_server_unlink()
849 if (m->current_dns_server == s) in manager_set_dns_server()
855 …log_full((s->type == DNS_SERVER_FALLBACK) != (m->current_dns_server && m->current_dns_server->type… in manager_set_dns_server()
858 dns_server_unref(m->current_dns_server); in manager_set_dns_server()
859 m->current_dns_server = dns_server_ref(s); in manager_set_dns_server()
877 if (!m->current_dns_server || in manager_get_dns_server()
879 manager_server_is_stub(m, m->current_dns_server)) in manager_get_dns_server()
[all …]
Dresolved-link.c725 if (l->current_dns_server == s) in link_set_dns_server()
731 dns_server_unref(l->current_dns_server); in link_set_dns_server()
732 l->current_dns_server = dns_server_ref(s); in link_set_dns_server()
743 if (!l->current_dns_server) in link_get_dns_server()
746 return l->current_dns_server; in link_get_dns_server()
754 if (if_current && l->current_dns_server != if_current) in link_next_dns_server()
759 if (!l->current_dns_server) in link_next_dns_server()
764 if (l->current_dns_server->linked && l->current_dns_server->servers_next) { in link_next_dns_server()
765 link_set_dns_server(l, l->current_dns_server->servers_next); in link_next_dns_server()
Dresolved-link.h51 DnsServer *current_dns_server; member
Dresolved-manager.h72 DnsServer *current_dns_server; member
Dresolved-link-bus.c880 …urrentDNSServer", "(iay)", property_get_current_dns_server, offsetof(Link, current_dns_server), 0),
881 …NSServerEx", "(iayqs)", property_get_current_dns_server_ex, offsetof(Link, current_dns_server), 0),
Dresolved-bus.c2115 …, "(iiay)", bus_property_get_current_dns_server, offsetof(Manager, current_dns_server), SD_BUS_VTA…
2116 …iayqs)", bus_property_get_current_dns_server_ex, offsetof(Manager, current_dns_server), SD_BUS_VTA…