Home
last modified time | relevance | path

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

/systemd-251/src/resolve/
Dtest-dns-packet.c97 … 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 …]
Dtest-dnssec.c50 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 …]
Dresolved-dns-trust-anchor.c35 …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()
Dresolved-dns-question.c328 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()
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()
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()
Ddns-type.c227 case DNS_CLASS_IN: in dns_class_to_string()
243 return DNS_CLASS_IN; in dns_class_from_string()
Dresolved-dnssd.c234 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()
Dresolved-etc-hosts.c381 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()
Ddns-type.h102 DNS_CLASS_IN = 0x01, enumerator
Dresolved-link.c893 …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()
Dtest-dnssec-complex.c57 … assert_se(sd_bus_message_append(req, "isqqt", 0, name, DNS_CLASS_IN, type, UINT64_C(0)) >= 0); in test_rr_lookup()
Dresolved-dns-rr.c168 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()
Dresolved-dns-scope.c794 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()
Dresolvectl.c695 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()
Dtest-resolved-stream.c191 assert_se(key = dns_resource_key_new(DNS_CLASS_IN, type, TEST_DOMAIN)); in send_simple_question()
Dresolved-dns-answer.c247 soa = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_SOA, name); in dns_answer_add_soa()
Dresolved-dns-transaction.c211 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()