Home
last modified time | relevance | path

Searched refs:dns_name_is_valid_or_address (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/test/
Dtest-dns-domain.c728 TEST(dns_name_is_valid_or_address) { in TEST() argument
729 assert_se(dns_name_is_valid_or_address(NULL) == 0); in TEST()
730 assert_se(dns_name_is_valid_or_address("") == 0); in TEST()
731 assert_se(dns_name_is_valid_or_address("foobar") > 0); in TEST()
732 assert_se(dns_name_is_valid_or_address("foobar.com") > 0); in TEST()
733 assert_se(dns_name_is_valid_or_address("foobar..com") == 0); in TEST()
734 assert_se(dns_name_is_valid_or_address("foobar.com.") > 0); in TEST()
735 assert_se(dns_name_is_valid_or_address("127.0.0.1") > 0); in TEST()
736 assert_se(dns_name_is_valid_or_address("::") > 0); in TEST()
737 assert_se(dns_name_is_valid_or_address("::1") > 0); in TEST()
/systemd-251/src/timesync/
Dtimesyncd-conf.c34 r = dns_name_is_valid_or_address(word); in manager_parse_server_string()
Dtimesyncd-bus.c65 r = dns_name_is_valid_or_address(*name); in method_set_runtime_servers()
Dtimesyncd-manager.c994 r = dns_name_is_valid_or_address(*i); in manager_network_read_link_servers()
/systemd-251/src/shared/
Ddns-domain.h103 int dns_name_is_valid_or_address(const char *name);
Ddns-domain.c1385 int dns_name_is_valid_or_address(const char *name) { in dns_name_is_valid_or_address() function
/systemd-251/src/network/
Dnetworkd-link-bus.c97 r = dns_name_is_valid_or_address(*i); in bus_link_method_set_ntp_servers()
Dnetworkd-network.c1145 r = dns_name_is_valid_or_address(w); in config_parse_ntp()