Home
last modified time | relevance | path

Searched refs:dns_resource_key_name (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-zone.c55 first = hashmap_get(z->by_name, dns_resource_key_name(i->rr->key)); in dns_zone_item_remove_and_free()
58 … assert_se(hashmap_replace(z->by_name, dns_resource_key_name(first->rr->key), first) >= 0); in dns_zone_item_remove_and_free()
60 hashmap_remove(z->by_name, dns_resource_key_name(i->rr->key)); in dns_zone_item_remove_and_free()
150 first = hashmap_get(z->by_name, dns_resource_key_name(i->rr->key)); in dns_zone_link_item()
153 … assert_se(hashmap_replace(z->by_name, dns_resource_key_name(first->rr->key), first) >= 0); in dns_zone_link_item()
155 r = hashmap_put(z->by_name, dns_resource_key_name(i->rr->key), i); in dns_zone_link_item()
174 … &DNS_RESOURCE_KEY_CONST(i->rr->key->class, DNS_TYPE_ANY, dns_resource_key_name(i->rr->key)), in dns_zone_item_probe_start()
179 … key = dns_resource_key_new(i->rr->key->class, DNS_TYPE_ANY, dns_resource_key_name(i->rr->key)); in dns_zone_item_probe_start()
322 first = hashmap_get(z->by_name, dns_resource_key_name(key)); in dns_zone_lookup()
358 first = hashmap_get(z->by_name, dns_resource_key_name(key)); in dns_zone_lookup()
[all …]
Dresolved-dns-rr.c53 …r = dns_name_change_suffix(dns_resource_key_name(key), dns_resource_key_name(cname->key), cname->d… in dns_resource_key_new_redirect()
82 r = dns_name_concat(dns_resource_key_name(key), name, 0, &joined); in dns_resource_key_new_append_suffix()
146 const char* dns_resource_key_name(const DnsResourceKey *key) { in dns_resource_key_name() function
180 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()
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()
229 r = dns_name_concat(dns_resource_key_name(key), search_domain, 0, &joined); 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()
[all …]
Dresolved-dns-transaction.c731 … r = dns_name_address(dns_resource_key_name(dns_transaction_key(t)), &family, &address); in dns_transaction_emit_tcp()
1668 if (dns_name_is_root(dns_resource_key_name(dns_transaction_key(t))) && in dns_transaction_prepare()
2007 (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()
2230 …r = dns_transaction_negative_trust_anchor_lookup(t, dns_resource_key_name(dns_transaction_key(t))); in dns_transaction_has_negative_answer()
2327 r = dns_transaction_negative_trust_anchor_lookup(t, dns_resource_key_name(rr->key)); in dns_transaction_request_dnssec_keys()
2344 … r = dns_name_equal(rr->rrsig.signer, dns_resource_key_name(rr->key)); in dns_transaction_request_dnssec_keys()
2362 … r = dns_name_endswith(dns_resource_key_name(dns_transaction_key(t)), rr->rrsig.signer); in dns_transaction_request_dnssec_keys()
2373 t->id, dns_resource_key_name(rr->key), rr->rrsig.key_tag); 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()
[all …]
Dresolved-dns-dnssec.c679 name = dns_resource_key_name(rrsig->key); in dnssec_rrsig_prepare()
1024 name = dns_resource_key_name(key); 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()
1355 …r = dns_name_to_wire_format(dns_resource_key_name(dnskey->key), wire_format, sizeof wire_format, t… in dnssec_verify_dnskey_by_ds()
1456 … r = dns_name_equal(dns_resource_key_name(dnskey->key), dns_resource_key_name(ds->key)); in dnssec_verify_dnskey_by_ds_search()
1645 a = dns_resource_key_name(rr->key); in nsec3_is_good()
1650 b = dns_resource_key_name(nsec3->key); in nsec3_is_good()
1722 zone = dns_resource_key_name(key); in dnssec_test_nsec3()
1731 r = dns_name_equal_skip(dns_resource_key_name(zone_rr->key), 1, zone); in dnssec_test_nsec3()
[all …]
Dresolved-dns-synthesize.c73 … rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_A, dns_resource_key_name(key)); in synthesize_localhost_rr()
87 … rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_AAAA, dns_resource_key_name(key)); in synthesize_localhost_rr()
127 …r = answer_add_ptr(answer, dns_resource_key_name(key), "localhost", dns_synthesize_ifindex(ifindex… in synthesize_localhost_ptr()
245 dns_resource_key_name(key), in synthesize_system_hostname_rr()
250 return answer_add_addresses_rr(answer, dns_resource_key_name(key), addresses, n); in synthesize_system_hostname_rr()
351 r = answer_add_addresses_rr(answer, dns_resource_key_name(key), addresses, n); in synthesize_gateway_rr()
395 name = dns_resource_key_name(key); in dns_synthesize_answer()
Dresolved-dns-question.c131 name = dns_resource_key_name(q->items[0].key); in dns_question_is_valid_for_query()
140 r = dns_name_equal(dns_resource_key_name(q->items[i].key), name); in dns_question_is_valid_for_query()
238 …r = dns_name_change_suffix(dns_resource_key_name(key), dns_resource_key_name(cname->key), cname->d… in dns_question_cname_redirect()
247 r = dns_name_equal(dns_resource_key_name(key), d); in dns_question_cname_redirect()
293 return dns_resource_key_name(q->items[0].key); in dns_question_first_name()
Dresolved-dns-answer.c324 p = dns_resource_key_name(rr->key); in dns_answer_contains_zone_nsec3()
372 … r = dns_name_endswith(dns_resource_key_name(rr->key), dns_resource_key_name(soa->key)); in dns_answer_find_soa()
782 … r = dns_name_change_suffix(cname->cname.name, rr->dname.name, dns_resource_key_name(rr->key), &n); in dns_answer_has_dname_for_cname()
788 r = dns_name_equal(n, dns_resource_key_name(cname->key)); in dns_answer_has_dname_for_cname()
Dresolved-etc-hosts.c384 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()
Dresolved-dns-trust-anchor.c685 … &DNS_RESOURCE_KEY_CONST(revoked_dnskey->key->class, DNS_TYPE_DS, dns_resource_key_name(revoked_dn… in dns_trust_anchor_check_revoked_one()
732 if (!dns_trust_anchor_knows_domain_positive(d, dns_resource_key_name(dnskey->key))) in dns_trust_anchor_check_revoked()
Dresolved-dns-scope.c807 const char* name = dns_resource_key_name(key); in dns_scope_good_key()
1436 if (!set_contains(types, dns_resource_key_name(z->rr->key))) { in dns_scope_announce()
1437 … r = set_ensure_put(&types, &dns_name_hash_ops, dns_resource_key_name(z->rr->key)); in dns_scope_announce()
Dresolved-dns-rr.h304 const char* dns_resource_key_name(const DnsResourceKey *key);
Dresolved-dnssd.c339 if (dns_name_equal(dns_resource_key_name(s->srv_rr->key), name)) { in dnssd_signal_conflict()
Dresolved-dns-cache.c593 i->key = dns_resource_key_new(key->class, DNS_TYPE_ANY, dns_resource_key_name(key)); in dns_cache_put_negative()
872 n = dns_resource_key_name(k); in dns_cache_get_by_key_follow_cname_dname_nsec()
Dresolved-mdns.c396 name = dns_resource_key_name(rr->key); in on_mdns_packet()
Dresolved-bus.c317 r = dns_name_normalize(dns_resource_key_name(canonical->key), 0, &normalized); in bus_method_resolve_hostname_complete()
977 r = dns_name_normalize(dns_resource_key_name(canonical->key), 0, &normalized); in append_srv()
1143 r = dns_service_split(dns_resource_key_name(canonical->key), &name, &type, &domain); in resolve_service_all_complete()
Dresolved-varlink.c221 r = dns_name_normalize(dns_resource_key_name(canonical->key), 0, &normalized); in vl_method_resolve_hostname_complete()
Dresolved-dns-packet.c622 r = dns_packet_append_name(p, dns_resource_key_name(k), true, true, NULL); in dns_packet_append_key()
2287 if (!dns_name_is_root(dns_resource_key_name(rr->key))) { in dns_packet_extract_answer()