Home
last modified time | relevance | path

Searched refs:dns_name_endswith (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-scope.c514 if (dns_name_endswith(domain, "254.169.in-addr.arpa") > 0) in match_link_local_reverse_lookups()
517 if (dns_name_endswith(domain, "8.e.f.ip6.arpa") > 0 || in match_link_local_reverse_lookups()
518 dns_name_endswith(domain, "9.e.f.ip6.arpa") > 0 || in match_link_local_reverse_lookups()
519 dns_name_endswith(domain, "a.e.f.ip6.arpa") > 0 || in match_link_local_reverse_lookups()
520 dns_name_endswith(domain, "b.e.f.ip6.arpa") > 0) in match_link_local_reverse_lookups()
630 dns_name_endswith(domain, "127.in-addr.arpa") > 0 || in dns_scope_good_domain()
677 if (dns_name_endswith(domain, d->name) > 0) { in dns_scope_good_domain()
706 dns_name_endswith(domain, "local") > 0) in dns_scope_good_domain()
734 if ((s->family == AF_INET && dns_name_endswith(domain, "in-addr.arpa") > 0) || in dns_scope_good_domain()
735 (s->family == AF_INET6 && dns_name_endswith(domain, "ip6.arpa") > 0)) in dns_scope_good_domain()
[all …]
Dresolved-mdns.c401 if (!(dns_name_endswith(name, "in-addr.arpa") > 0 || in on_mdns_packet()
402 dns_name_endswith(name, "ip6.arpa") > 0 || in on_mdns_packet()
403 dns_name_endswith(name, "local") > 0)) in on_mdns_packet()
Dresolved-dns-dnssec.c1980 return dns_name_endswith(name, n); in dnssec_nsec_wildcard_equal()
2007 r = dns_name_endswith(nn, name); in dnssec_nsec_in_path()
2016 return dns_name_endswith(name, common_suffix); in dnssec_nsec_in_path()
2059 …r = dns_name_endswith(name, signer); /* this NSEC isn't suitable the name is not in the signer's d… in dnssec_nsec_covers()
2079 …r = dns_name_endswith(name, signer); /* this NSEC isn't suitable the name is not in the signer's d… in dnssec_nsec_generate_wildcard()
2447 r = dns_name_endswith(name, source); in dnssec_test_positive_wildcard_nsec()
Dresolved-dns-rr.c180 return dns_name_endswith(dns_resource_key_name(key), "_tcp.local") || in dns_resource_key_is_dnssd_ptr()
181 dns_name_endswith(dns_resource_key_name(key), "_udp.local"); in dns_resource_key_is_dnssd_ptr()
254 r = dns_name_endswith(dns_resource_key_name(key), dns_resource_key_name(cname)); in dns_resource_key_match_cname_or_dname()
271 return dns_name_endswith(joined, dns_resource_key_name(cname)); in dns_resource_key_match_cname_or_dname()
289 return dns_name_endswith(dns_resource_key_name(key), dns_resource_key_name(soa)); in dns_resource_key_match_soa()
Dresolved-dns-transaction.c2007 (dns_name_endswith(dns_resource_key_name(dns_transaction_key(t)), "in-addr.arpa") > 0 || in dns_transaction_go()
2008 dns_name_endswith(dns_resource_key_name(dns_transaction_key(t)), "ip6.arpa") > 0)) { in dns_transaction_go()
2362 … r = dns_name_endswith(dns_resource_key_name(dns_transaction_key(t)), rr->rrsig.signer); in dns_transaction_request_dnssec_keys()
2391 …r = dns_name_endswith(dns_resource_key_name(dns_transaction_key(t)), dns_resource_key_name(rr->key… in dns_transaction_request_dnssec_keys()
2438 …r = dns_name_endswith(dns_resource_key_name(dns_transaction_key(t)), dns_resource_key_name(rr->key… in dns_transaction_request_dnssec_keys()
Dresolved-dns-synthesize.c437 …} else if ((dns_name_endswith(name, "127.in-addr.arpa") > 0 && dns_name_equal(name, "2.0.0.127.in-… in dns_synthesize_answer()
Dresolved-dns-answer.c372 … r = dns_name_endswith(dns_resource_key_name(rr->key), dns_resource_key_name(soa->key)); in dns_answer_find_soa()
/systemd-251/src/shared/
Ddns-domain.c563 int dns_name_endswith(const char *name, const char *suffix) { in dns_name_endswith() function
747 r = dns_name_endswith(p, "in-addr.arpa"); in dns_name_address()
783 r = dns_name_endswith(p, "ip6.arpa"); in dns_name_address()
961 ((dns_name_endswith(name, "_tcp") > 0) || in dnssd_srv_type_is_valid()
962 … (dns_name_endswith(name, "_udp") > 0)); /* Specific to DNS-SD. RFC 6763, Section 7 */ in dnssd_srv_type_is_valid()
1416 if (dns_name_endswith(name, "0.in-addr.arpa") > 0 || in dns_name_dont_resolve()
1422 if (dns_name_endswith(name, "invalid") > 0) in dns_name_dont_resolve()
Ddns-domain.h73 int dns_name_endswith(const char *name, const char *suffix);
/systemd-251/src/test/
Dtest-dns-domain.c271 assert_se(dns_name_endswith(a, b) == ret); in test_dns_name_endswith_one()
274 TEST(dns_name_endswith) { in TEST() argument