Home
last modified time | relevance | path

Searched refs:DnsServer (Results 1 – 20 of 20) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-server.h10 typedef struct DnsServer DnsServer; typedef
50 struct DnsServer { struct
101 LIST_FIELDS(DnsServer, servers); argument
106 DnsServer **ret,
115 DnsServer* dns_server_ref(DnsServer *s);
116 DnsServer* dns_server_unref(DnsServer *s);
118 void dns_server_unlink(DnsServer *s);
119 void dns_server_move_back_and_unmark(DnsServer *s);
121 void dns_server_packet_received(DnsServer *s, int protocol, DnsServerFeatureLevel level, size_t fra…
122 void dns_server_packet_lost(DnsServer *s, int protocol, DnsServerFeatureLevel level);
[all …]
Dresolved-dns-server.c24 DnsServer **ret, in dns_server_new()
34 DnsServer *s; in dns_server_new()
57 s = new(DnsServer, 1); in dns_server_new()
61 *s = (DnsServer) { in dns_server_new()
112 static DnsServer* dns_server_free(DnsServer *s) { in dns_server_free()
127 DEFINE_TRIVIAL_REF_UNREF_FUNC(DnsServer, dns_server, dns_server_free);
129 void dns_server_unlink(DnsServer *s) { in dns_server_unlink()
178 void dns_server_move_back_and_unmark(DnsServer *s) { in dns_server_move_back_and_unmark()
179 DnsServer *tail; in dns_server_move_back_and_unmark()
220 static void dns_server_verified(DnsServer *s, DnsServerFeatureLevel level) { in dns_server_verified()
[all …]
Dresolved-link.h50 LIST_HEAD(DnsServer, dns_servers);
51 DnsServer *current_dns_server;
98 DnsServer* link_set_dns_server(Link *l, DnsServer *s);
99 DnsServer* link_get_dns_server(Link *l);
100 void link_next_dns_server(Link *l, DnsServer *if_current);
Dresolved-dnstls.h9 typedef struct DnsServer DnsServer; typedef
26 int dnstls_stream_connect_tls(DnsStream *stream, DnsServer *server);
33 void dnstls_server_free(DnsServer *server);
Dresolved-dns-scope.h76 int dns_scope_socket_tcp(DnsScope *s, int family, const union in_addr_union *address, DnsServer *se…
77 int dns_scope_socket_udp(DnsScope *s, DnsServer *server);
82 DnsServer *dns_scope_get_dns_server(DnsScope *s);
84 void dns_scope_next_dns_server(DnsScope *s, DnsServer *if_current);
Dresolved-manager.h69 LIST_HEAD(DnsServer, dns_servers);
70 LIST_HEAD(DnsServer, fallback_dns_servers);
72 DnsServer *current_dns_server;
210 bool manager_server_is_stub(Manager *m, DnsServer *s);
Dresolved-dns-stream.h9 typedef struct DnsServer DnsServer; typedef
87 DnsServer *server; /* when used by the transaction logic */
Dresolved-resolv-conf.c203 static void write_resolv_conf_server(DnsServer *s, FILE *f, unsigned *count) { in write_resolv_conf_server()
279 DnsServer *s; in write_uplink_resolv_conf_contents()
Dresolved-bus.h12 int bus_dns_server_append(sd_bus_message *reply, DnsServer *s, bool with_ifindex, bool extended);
Dresolved-dnstls-gnutls.c31 int dnstls_stream_connect_tls(DnsStream *stream, DnsServer *server) { in dnstls_stream_connect_tls()
226 void dnstls_server_free(DnsServer *server) { in dnstls_server_free()
Dresolved-dns-scope.c125 DnsServer *dns_scope_get_dns_server(DnsScope *s) { in dns_scope_get_dns_server()
139 DnsServer *i; in dns_scope_get_n_dns_servers()
157 void dns_scope_next_dns_server(DnsScope *s, DnsServer *if_current) { in dns_scope_next_dns_server()
350 DnsServer *server, in dns_scope_socket()
499 int dns_scope_socket_udp(DnsScope *s, DnsServer *server) { in dns_scope_socket_udp()
503 int dns_scope_socket_tcp(DnsScope *s, int family, const union in_addr_union *address, DnsServer *se… in dns_scope_socket_tcp()
Dresolved-link.c257 DnsServer *s; in link_update_dns_server_one()
722 DnsServer* link_set_dns_server(Link *l, DnsServer *s) { in link_set_dns_server()
740 DnsServer *link_get_dns_server(Link *l) { in link_get_dns_server()
749 void link_next_dns_server(Link *l, DnsServer *if_current) { in link_next_dns_server()
792 DnsServer *server; in link_dnssec_supported()
Dresolved-link-bus.c104 DnsServer *s; in property_get_current_dns_server_internal()
109 s = *(DnsServer **) userdata; in property_get_current_dns_server_internal()
303 DnsServer *s; in bus_link_method_set_dns_servers_internal()
Dresolved-dnstls-openssl.c51 int dnstls_stream_connect_tls(DnsStream *stream, DnsServer *server) { in dnstls_stream_connect_tls()
396 void dnstls_server_free(DnsServer *server) { in dnstls_server_free()
Dresolved-dns-transaction.h95 DnsServer *server;
Dtest-resolved-stream.c268 DnsServer server = { in test_dns_stream()
Dresolved-bus.c1387 int bus_dns_server_append(sd_bus_message *reply, DnsServer *s, bool with_ifindex, bool extended) { in bus_dns_server_append()
1506 DnsServer **f = userdata; in bus_property_get_fallback_dns_servers_internal()
1557 DnsServer *s; in bus_property_get_current_dns_server_internal()
1562 s = *(DnsServer **) userdata; in bus_property_get_current_dns_server_internal()
Dresolved-conf.c29 DnsServer *s; in manager_add_dns_server_by_string()
Dresolved-manager.c1439 DnsServer *server; in manager_dnssec_supported()
1603 bool manager_server_is_stub(Manager *m, DnsServer *s) { in manager_server_is_stub()
Dresolved-dns-transaction.c464 DnsServer *server; in dns_transaction_pick_server()