Searched refs:dns_name_compare_func (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-dns-domain.c | 643 TEST(dns_name_compare_func) { in TEST() argument 644 assert_se(dns_name_compare_func("", "") == 0); in TEST() 645 assert_se(dns_name_compare_func("", ".") == 0); in TEST() 646 assert_se(dns_name_compare_func(".", "") == 0); in TEST() 647 assert_se(dns_name_compare_func("foo", "foo.") == 0); in TEST() 648 assert_se(dns_name_compare_func("foo.", "foo") == 0); in TEST() 649 assert_se(dns_name_compare_func("foo", "foo") == 0); in TEST() 650 assert_se(dns_name_compare_func("foo.", "foo.") == 0); in TEST() 651 assert_se(dns_name_compare_func("heise.de", "HEISE.DE.") == 0); in TEST() 653 assert_se(dns_name_compare_func("de.", "heise.de") != 0); in TEST()
|
/systemd-251/src/shared/ |
D | dns-domain.c | 507 int dns_name_compare_func(const char *a, const char *b) { in dns_name_compare_func() function 534 DEFINE_HASH_OPS(dns_name_hash_ops, char, dns_name_hash_func, dns_name_compare_func); 693 if (dns_name_compare_func(a, c) < 0) in dns_name_between() 698 return dns_name_compare_func(a, b) < 0 && in dns_name_between() 699 dns_name_compare_func(b, c) < 0; in dns_name_between() 707 return dns_name_compare_func(b, c) < 0 || in dns_name_between() 708 dns_name_compare_func(a, b) < 0; in dns_name_between()
|
D | dns-domain.h | 68 int dns_name_compare_func(const char *a, const char *b);
|
/systemd-251/src/resolve/ |
D | resolved-dns-trust-anchor.c | 464 return dns_name_compare_func(*a, *b); in domain_name_cmp()
|
D | resolved-dns-rr.c | 303 r = dns_name_compare_func(dns_resource_key_name(x), dns_resource_key_name(y)); in dns_resource_key_compare_func()
|