Home
last modified time | relevance | path

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

/systemd-251/src/resolve/
Dresolved-link-bus.c607 const char *dns_over_tls; in bus_link_method_set_dns_over_tls() local
618 r = sd_bus_message_read(message, "s", &dns_over_tls); in bus_link_method_set_dns_over_tls()
622 if (isempty(dns_over_tls)) in bus_link_method_set_dns_over_tls()
625 mode = dns_over_tls_mode_from_string(dns_over_tls); in bus_link_method_set_dns_over_tls()
627 …d_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid DNSOverTLS setting: %s", dns_over_tls); in bus_link_method_set_dns_over_tls()
Dresolvectl.c1417 const char *dns_over_tls; member
1440 const char *dns_over_tls; member
1505 if (strv_extend_extended_bool(&s, "DNSOverTLS", info->dns_over_tls) < 0) in link_protocol_status()
1525 if (strv_extend_extended_bool(&s, "DNSOverTLS", info->dns_over_tls) < 0) in global_protocol_status()
1547 … "s", NULL, offsetof(LinkInfo, dns_over_tls) }, in status_ifindex()
1626 strna(link_info.dns_over_tls)); in status_ifindex()
1826 … "s", NULL, offsetof(GlobalInfo, dns_over_tls) }, in status_global()
1879 strna(global_info.dns_over_tls)); in status_global()
/systemd-251/src/network/
Dnetworkd-link-bus.c391 const char *dns_over_tls; in bus_link_method_set_dns_over_tls() local
402 r = sd_bus_message_read(message, "s", &dns_over_tls); in bus_link_method_set_dns_over_tls()
406 if (isempty(dns_over_tls)) in bus_link_method_set_dns_over_tls()
409 mode = dns_over_tls_mode_from_string(dns_over_tls); in bus_link_method_set_dns_over_tls()
411 …d_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid DNSOverTLS setting: %s", dns_over_tls); in bus_link_method_set_dns_over_tls()
/systemd-251/src/systemd/
Dsd-network.h155 int sd_network_link_get_dns_over_tls(int ifindex, char **dns_over_tls);
/systemd-251/src/libsystemd/sd-network/
Dsd-network.c289 int sd_network_link_get_dns_over_tls(int ifindex, char **dns_over_tls) { in sd_network_link_get_dns_over_tls() argument
290 return network_link_get_string(ifindex, "DNS_OVER_TLS", dns_over_tls); in sd_network_link_get_dns_over_tls()
/systemd-251/
Dmeson.build1592 dns_over_tls = get_option('dns-over-tls')
1593 if dns_over_tls != 'false'
1594 if dns_over_tls == 'gnutls' and conf.get('PREFER_OPENSSL') == 1
1598 if dns_over_tls == 'openssl' or conf.get('PREFER_OPENSSL') == 1
1602 if dns_over_tls == 'gnutls' and not have_gnutls
1606 if dns_over_tls == 'gnutls' or have_gnutls
1610 if dns_over_tls != 'auto' and not have_openssl
1611 str = dns_over_tls == 'openssl' ? ' with openssl' : ''