Searched refs:DNS_RESOURCE_KEY_NAME (Results 1 - 15 of 15) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-zone.c71 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
74 assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0);
76 hashmap_remove(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
150 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
153 assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0);
155 r = hashmap_put(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key), i);
172 t = dns_scope_find_transaction(i->scope, &DNS_RESOURCE_KEY_CONST(i->rr->key->class, DNS_TYPE_ANY, DNS_RESOURCE_KEY_NAME(i->rr->key)), false);
176 key = dns_resource_key_new(i->rr->key->class, DNS_TYPE_ANY, DNS_RESOURCE_KEY_NAME(i->rr->key));
306 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
342 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(ke
[all...]
H A Dresolved-dns-synthesize.c89 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_A, DNS_RESOURCE_KEY_NAME(key));
103 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_AAAA, DNS_RESOURCE_KEY_NAME(key));
143 r = answer_add_ptr(answer, DNS_RESOURCE_KEY_NAME(key), "localhost", dns_synthesize_ifindex(ifindex), DNS_ANSWER_AUTHENTICATED);
257 return answer_add_addresses_rr(answer, DNS_RESOURCE_KEY_NAME(key), buffer, n);
261 return answer_add_addresses_rr(answer, DNS_RESOURCE_KEY_NAME(key), addresses, n);
322 return answer_add_addresses_rr(answer, DNS_RESOURCE_KEY_NAME(key), addresses, n);
363 name = DNS_RESOURCE_KEY_NAME(key);
H A Dresolved-dns-question.c148 name = DNS_RESOURCE_KEY_NAME(q->keys[0]);
157 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(q->keys[i]), name);
238 r = dns_name_change_suffix(DNS_RESOURCE_KEY_NAME(key), DNS_RESOURCE_KEY_NAME(cname->key), cname->dname.name, &destination);
247 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(key), d);
294 return DNS_RESOURCE_KEY_NAME(q->keys[0]);
H A Dresolved-dns-dnssec.c482 name = DNS_RESOURCE_KEY_NAME(rrsig->key);
666 name = DNS_RESOURCE_KEY_NAME(key);
866 return dns_name_equal(DNS_RESOURCE_KEY_NAME(dnskey->key), rrsig->rrsig.signer);
882 return dns_name_equal(DNS_RESOURCE_KEY_NAME(rrsig->key), DNS_RESOURCE_KEY_NAME(key));
1085 r = dnssec_canonicalize(DNS_RESOURCE_KEY_NAME(dnskey->key), owner_name, sizeof(owner_name));
1135 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(dnskey->key), DNS_RESOURCE_KEY_NAME(ds->key));
1287 a = DNS_RESOURCE_KEY_NAME(rr->key);
1294 b = DNS_RESOURCE_KEY_NAME(nsec
[all...]
H A Dresolved-dns-transaction.c525 r = dns_name_address(DNS_RESOURCE_KEY_NAME(t->key), &family, &address);
1212 if (dns_name_is_root(DNS_RESOURCE_KEY_NAME(t->key)) &&
1497 (dns_name_endswith(DNS_RESOURCE_KEY_NAME(t->key), "in-addr.arpa") > 0 ||
1498 dns_name_endswith(DNS_RESOURCE_KEY_NAME(t->key), "ip6.arpa") > 0)) {
1711 r = dns_transaction_negative_trust_anchor_lookup(t, DNS_RESOURCE_KEY_NAME(t->key));
1819 r = dns_transaction_negative_trust_anchor_lookup(t, DNS_RESOURCE_KEY_NAME(rr->key));
1836 r = dns_name_equal(rr->rrsig.signer, DNS_RESOURCE_KEY_NAME(rr->key));
1854 r = dns_name_endswith(DNS_RESOURCE_KEY_NAME(t->key), rr->rrsig.signer);
1864 log_debug("Requesting DNSKEY to validate transaction %" PRIu16" (%s, RRSIG with key tag: %" PRIu16 ").", t->id, DNS_RESOURCE_KEY_NAME(rr->key), rr->rrsig.key_tag);
1882 r = dns_name_endswith(DNS_RESOURCE_KEY_NAME(
[all...]
H A Dresolved-dns-rr.c68 r = dns_name_change_suffix(DNS_RESOURCE_KEY_NAME(key), DNS_RESOURCE_KEY_NAME(cname->key), cname->dname.name, &destination);
98 r = dns_name_concat(DNS_RESOURCE_KEY_NAME(key), name, &joined);
174 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(a), DNS_RESOURCE_KEY_NAME(b));
206 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(rr->key), DNS_RESOURCE_KEY_NAME(key));
213 r = dns_name_concat(DNS_RESOURCE_KEY_NAME(key), search_domain, &joined);
217 return dns_name_equal(DNS_RESOURCE_KEY_NAME(rr->key), joined);
233 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(ke
[all...]
H A Dresolved-dns-answer.c333 p = DNS_RESOURCE_KEY_NAME(rr->key);
366 r = dns_name_endswith(DNS_RESOURCE_KEY_NAME(rr->key), DNS_RESOURCE_KEY_NAME(soa->key));
843 r = dns_name_change_suffix(cname->cname.name, rr->dname.name, DNS_RESOURCE_KEY_NAME(rr->key), &n);
849 r = dns_name_equal(n, DNS_RESOURCE_KEY_NAME(cname->key));
H A Dresolved-etc-hosts.c366 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(t), name);
416 r = dns_name_equal(DNS_RESOURCE_KEY_NAME(t), name);
H A Dresolved-dns-rr.h84 char *_name; /* don't access directy, use DNS_RESOURCE_KEY_NAME()! */
255 static inline const char* DNS_RESOURCE_KEY_NAME(const DnsResourceKey *key) { function
H A Dresolved-mdns.c109 const char *name = DNS_RESOURCE_KEY_NAME(rr->key);
H A Dresolved-dns-trust-anchor.c654 a = hashmap_get(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(revoked_dnskey->key->class, DNS_TYPE_DS, DNS_RESOURCE_KEY_NAME(revoked_dnskey->key)));
701 if (!dns_trust_anchor_knows_domain_positive(d, DNS_RESOURCE_KEY_NAME(dnskey->key)))
H A Dresolved-bus.c205 DNS_RESOURCE_KEY_NAME(canonical->key),
717 r = sd_bus_message_append(reply, "s", canonical ? DNS_RESOURCE_KEY_NAME(canonical->key) : rr->srv.name);
872 r = dns_service_split(DNS_RESOURCE_KEY_NAME(canonical->key), &name, &type, &domain);
H A Dresolved-dns-cache.c527 i->key = dns_resource_key_new(key->class, DNS_TYPE_ANY, DNS_RESOURCE_KEY_NAME(key));
762 n = DNS_RESOURCE_KEY_NAME(k);
H A Dresolved-dns-scope.c517 return !(dns_name_is_single_label(DNS_RESOURCE_KEY_NAME(key)) ||
518 dns_name_is_root(DNS_RESOURCE_KEY_NAME(key)));
H A Dresolved-dns-packet.c568 r = dns_packet_append_name(p, DNS_RESOURCE_KEY_NAME(k), true, true, NULL);
2170 if (!dns_name_is_root(DNS_RESOURCE_KEY_NAME(rr->key))) {

Completed in 2560 milliseconds