/systemd-251/src/test/ |
D | test-dns-domain.c | 214 r = dns_name_equal(a, b); in test_dns_name_equal_one() 217 r = dns_name_equal(b, a); in test_dns_name_equal_one() 221 TEST(dns_name_equal) { in TEST() argument 244 assert_se(r == 0 || dns_name_equal(a, c) > 0); in test_dns_name_between_one() 497 assert_se(dns_name_equal(c, z) > 0); in test_dns_service_join_one() 530 assert_se(dns_name_equal(joined, t) > 0); in test_dns_service_split_one() 532 assert_se(!x && dns_name_equal(z, joined) > 0); in test_dns_service_split_one() 691 assert_se(dns_name_equal(buf, result) == 1); in test_dns_name_apply_idna_one()
|
/systemd-251/src/resolve/ |
D | resolved-dns-rr.c | 190 r = dns_name_equal(dns_resource_key_name(a), dns_resource_key_name(b)); in dns_resource_key_equal() 222 r = dns_name_equal(dns_resource_key_name(rr->key), dns_resource_key_name(key)); in dns_resource_key_match_rr() 233 return dns_name_equal(dns_resource_key_name(rr->key), joined); in dns_resource_key_match_rr() 252 r = dns_name_equal(dns_resource_key_name(key), dns_resource_key_name(cname)); in dns_resource_key_match_cname_or_dname() 269 return dns_name_equal(joined, dns_resource_key_name(cname)); in dns_resource_key_match_cname_or_dname() 574 r = dns_name_equal(a->srv.name, b->srv.name); in dns_resource_record_payload_equal() 586 return dns_name_equal(a->ptr.name, b->ptr.name); in dns_resource_record_payload_equal() 603 r = dns_name_equal(a->soa.mname, b->soa.mname); in dns_resource_record_payload_equal() 606 r = dns_name_equal(a->soa.rname, b->soa.rname); in dns_resource_record_payload_equal() 620 return dns_name_equal(a->mx.exchange, b->mx.exchange); in dns_resource_record_payload_equal() [all …]
|
D | resolved-dns-dnssec.c | 700 r = dns_name_equal(name, rrsig->rrsig.signer); in dnssec_rrsig_prepare() 1028 r = dns_name_equal(rrsig->rrsig.signer, name); in dnssec_verify_rrset() 1039 r = dns_name_equal(rrsig->rrsig.signer, name); in dnssec_verify_rrset() 1151 return dns_name_equal(dns_resource_key_name(dnskey->key), rrsig->rrsig.signer); in dnssec_rrsig_match_dnskey() 1167 return dns_name_equal(dns_resource_key_name(rrsig->key), dns_resource_key_name(key)); in dnssec_key_match_rrsig() 1456 … r = dns_name_equal(dns_resource_key_name(dnskey->key), dns_resource_key_name(ds->key)); in dnssec_verify_dnskey_by_ds_search() 1656 return dns_name_equal(a, b); in nsec3_is_good() 1774 r = dns_name_equal(dns_resource_key_name(enclosure_rr->key), hashed_domain); in dnssec_test_nsec3() 1885 r = dns_name_equal(dns_resource_key_name(rr->key), wildcard_domain); in dnssec_test_nsec3() 2031 r = dns_name_equal(name, dns_resource_key_name(rr->key)); in dnssec_nsec_from_parent_zone() [all …]
|
D | resolved-dns-question.c | 140 r = dns_name_equal(dns_resource_key_name(q->items[i].key), name); in dns_question_is_valid_for_query() 247 r = dns_name_equal(dns_resource_key_name(key), d); in dns_question_cname_redirect()
|
D | resolved-etc-hosts.c | 384 r = dns_name_equal(dns_resource_key_name(t), name); in manager_etc_hosts_lookup() 435 r = dns_name_equal(dns_resource_key_name(t), name); in manager_etc_hosts_lookup()
|
D | resolved-dns-synthesize.c | 437 …} else if ((dns_name_endswith(name, "127.in-addr.arpa") > 0 && dns_name_equal(name, "2.0.0.127.in-… in dns_synthesize_answer() 438 …dns_name_equal(name, "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa") >… in dns_synthesize_answer()
|
D | resolved-dns-transaction.c | 2344 … r = dns_name_equal(rr->rrsig.signer, dns_resource_key_name(rr->key)); in dns_transaction_request_dnssec_keys() 2690 …r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), dns_resource_key_name(rr->key)); in dns_transaction_requires_rrsig() 2746 r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), parent); in dns_transaction_requires_rrsig() 2770 …r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), dns_resource_key_name(rr->key)); in dns_transaction_requires_rrsig() 2829 r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), tld); in dns_transaction_in_private_tld() 2914 r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), name); in dns_transaction_requires_nsec() 2958 … r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), rrsig->rrsig.signer); in dns_transaction_dnskey_authenticated() 2974 … r = dns_name_equal(dns_resource_key_name(dns_transaction_key(dt)), rrsig->rrsig.signer); in dns_transaction_dnskey_authenticated()
|
D | resolved-dns-search-domain.c | 188 r = dns_name_equal(name, d->name); in dns_search_domain_find()
|
D | resolved-dns-answer.c | 331 r = dns_name_equal(p, zone); in dns_answer_contains_zone_nsec3() 788 r = dns_name_equal(n, dns_resource_key_name(cname->key)); in dns_answer_has_dname_for_cname()
|
D | resolved-manager.c | 1319 r = dns_name_equal(name, m->llmnr_hostname); in manager_is_own_hostname() 1325 r = dns_name_equal(name, m->mdns_hostname); in manager_is_own_hostname() 1331 return dns_name_equal(name, m->full_hostname); in manager_is_own_hostname()
|
D | resolved-dns-scope.c | 631 …dns_name_equal(domain, "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa")… in dns_scope_good_domain() 739 … dns_name_equal(domain, "local") == 0 && /* but not the single-label "local" name itself */ in dns_scope_good_domain() 764 …dns_name_equal(domain, "local") == 0 && /* don't resolve "local" with LLMNR, it's the top-level do… in dns_scope_good_domain()
|
D | resolved-dnssd.c | 339 if (dns_name_equal(dns_resource_key_name(s->srv_rr->key), name)) { in dnssd_signal_conflict()
|
D | resolved-bus.c | 890 r = dns_name_equal(dns_question_first_name(question), rr->srv.name); in append_srv() 949 r = dns_name_equal(dns_question_first_name(question), rr->srv.name); in append_srv()
|
/systemd-251/src/shared/ |
D | dns-domain.c | 536 int dns_name_equal(const char *x, const char *y) { in dns_name_equal() function 770 r = dns_name_equal(p, "in-addr.arpa"); in dns_name_address() 815 r = dns_name_equal(p, "ip6.arpa"); in dns_name_address() 1218 return dns_name_equal(a, b); in dns_name_equal_skip() 1417 dns_name_equal(name, "255.255.255.255.in-addr.arpa") > 0 || in dns_name_dont_resolve() 1418 …dns_name_equal(name, "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa") >… in dns_name_dont_resolve()
|
D | dns-domain.h | 72 int dns_name_equal(const char *x, const char *y);
|