/systemd-251/src/resolve/ |
D | test-dns-packet.c | 97 … assert_se(cname = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_CNAME, "quux.foobar")); in test_dns_resource_record_get_cname_target() 100 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() 101 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() 102 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() 103 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() 104 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() 105 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() 106 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() 110 … assert_se(dname = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DNAME, "quux.foobar")); in test_dns_resource_record_get_cname_target() 113 …assert_se(dns_resource_record_get_cname_target(&DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_A, "… in test_dns_resource_record_get_cname_target() [all …]
|
D | test-dnssec.c | 50 ds1 = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DS, "nasa.gov"); in TEST() 62 ds2 = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DS, "NASA.GOV"); in TEST() 74 dnskey = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DNSKEY, "nasa.GOV"); in TEST() 116 dnskey = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DNSKEY, "example.com."); in TEST() 128 ds = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DS, "example.com."); in TEST() 140 mx = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_MX, "example.com."); in TEST() 149 rrsig = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_RRSIG, "example.com."); in TEST() 208 dnskey = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DNSKEY, "example.com."); in TEST() 220 ds = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DS, "example.com."); in TEST() 232 mx = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_MX, "example.com."); in TEST() [all …]
|
D | resolved-dns-trust-anchor.c | 35 …hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DNSKEY, name))… in dns_trust_anchor_knows_domain_positive() 36 … hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name)); in dns_trust_anchor_knows_domain_positive() 86 key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_DS, ""); in dns_trust_anchor_add_builtin_positive() 281 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DS, domain); in dns_trust_anchor_load_positive() 338 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_DNSKEY, domain); in dns_trust_anchor_load_positive() 568 …if (hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name))) in dns_trust_anchor_lookup_negative() 571 …if (hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_KEY, name)… in dns_trust_anchor_lookup_negative()
|
D | resolved-dns-question.c | 328 key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_A, name); in dns_question_new_address() 340 key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_AAAA, name); in dns_question_new_address() 374 key = dns_resource_key_new_consume(DNS_CLASS_IN, DNS_TYPE_PTR, reverse); in dns_question_new_reverse() 448 key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_SRV, name); in dns_question_new_service() 458 key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_TXT, name); in dns_question_new_service()
|
D | resolved-dns-synthesize.c | 73 … 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() 104 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_PTR, from); in answer_add_ptr() 392 if (!IN_SET(key->class, DNS_CLASS_IN, DNS_CLASS_ANY)) in dns_synthesize_answer()
|
D | dns-type.c | 227 case DNS_CLASS_IN: in dns_class_to_string() 243 return DNS_CLASS_IN; in dns_class_from_string()
|
D | resolved-dnssd.c | 234 txt_data->rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_TXT, in dnssd_update_rrs() 245 s->ptr_rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_PTR, in dnssd_update_rrs() 255 s->srv_rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_SRV, in dnssd_update_rrs()
|
D | resolved-etc-hosts.c | 381 if (!IN_SET(t->class, DNS_CLASS_IN, DNS_CLASS_ANY)) in manager_etc_hosts_lookup() 432 if (!IN_SET(t->class, DNS_CLASS_IN, DNS_CLASS_ANY)) in manager_etc_hosts_lookup()
|
D | dns-type.h | 102 DNS_CLASS_IN = 0x01, enumerator
|
D | resolved-link.c | 893 …a->link->manager->llmnr_host_ipv4_key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_A, a->link->ma… in link_address_add_rrs() 946 …a->link->manager->mdns_host_ipv4_key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_A, a->link->man… in link_address_add_rrs() 1003 …a->link->manager->llmnr_host_ipv6_key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_AAAA, a->link-… in link_address_add_rrs() 1057 …a->link->manager->mdns_host_ipv6_key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_AAAA, a->link->… in link_address_add_rrs()
|
D | test-dnssec-complex.c | 57 … assert_se(sd_bus_message_append(req, "isqqt", 0, name, DNS_CLASS_IN, type, UINT64_C(0)) >= 0); in test_rr_lookup()
|
D | resolved-dns-rr.c | 168 return key->class == DNS_CLASS_IN && IN_SET(key->type, DNS_TYPE_A, DNS_TYPE_AAAA); in dns_resource_key_is_address() 510 key = dns_resource_key_new_consume(DNS_CLASS_IN, DNS_TYPE_PTR, ptr); in dns_resource_record_new_reverse() 538 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_A, name); in dns_resource_record_new_address() 546 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_AAAA, name); in dns_resource_record_new_address() 1715 if (rr->key->class != DNS_CLASS_IN) in dns_resource_record_is_link_local_address()
|
D | resolved-dns-scope.c | 794 if (!IN_SET(key->class, DNS_CLASS_IN, DNS_CLASS_ANY)) in dns_scope_good_key() 1473 rr = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_PTR, in dns_scope_announce() 1564 key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_PTR, in dns_scope_remove_dnssd_services()
|
D | resolvectl.c | 695 class = arg_class ?: DNS_CLASS_IN; in resolve_rfc4501() 955 arg_class ?: DNS_CLASS_IN, in resolve_openpgp() 968 arg_class ?: DNS_CLASS_IN, in resolve_openpgp() 1016 arg_class ?: DNS_CLASS_IN, in resolve_tlsa() 2989 arg_class = DNS_CLASS_IN; in compat_parse_argv() 3237 arg_class = DNS_CLASS_IN; in native_parse_argv()
|
D | test-resolved-stream.c | 191 assert_se(key = dns_resource_key_new(DNS_CLASS_IN, type, TEST_DOMAIN)); in send_simple_question()
|
D | resolved-dns-answer.c | 247 soa = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_SOA, name); in dns_answer_add_soa()
|
D | resolved-dns-transaction.c | 211 if (!IN_SET(key->class, DNS_CLASS_IN, DNS_CLASS_ANY)) in key_ok() 3001 return rr->key->class == DNS_CLASS_IN && in dns_transaction_known_signed()
|