/systemd-251/src/resolve/ |
D | resolved-dns-answer.h | 4 typedef struct DnsAnswer DnsAnswer; typedef 39 struct DnsAnswer { struct 44 DnsAnswer *dns_answer_new(size_t n); argument 45 DnsAnswer *dns_answer_ref(DnsAnswer *a); 46 DnsAnswer *dns_answer_unref(DnsAnswer *a); 56 int dns_answer_add(DnsAnswer *a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags, DnsResou… 57 int dns_answer_add_extend(DnsAnswer **a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags, … 58 int dns_answer_add_soa(DnsAnswer *a, const char *name, uint32_t ttl, int ifindex); 60 int dns_answer_match_key(DnsAnswer *a, const DnsResourceKey *key, DnsAnswerFlags *ret_flags); 61 bool dns_answer_contains_nsec_or_nsec3(DnsAnswer *a); [all …]
|
D | resolved-dns-answer.c | 54 static int dns_answer_reserve_internal(DnsAnswer *a, size_t n) { in dns_answer_reserve_internal() 70 DnsAnswer *dns_answer_new(size_t n) { in dns_answer_new() 72 _cleanup_(dns_answer_unrefp) DnsAnswer *a = NULL; in dns_answer_new() 81 a = new(DnsAnswer, 1); in dns_answer_new() 85 *a = (DnsAnswer) { in dns_answer_new() 96 static DnsAnswer *dns_answer_free(DnsAnswer *a) { in dns_answer_free() 103 DEFINE_TRIVIAL_REF_UNREF_FUNC(DnsAnswer, dns_answer, dns_answer_free); 106 DnsAnswer *a, in dns_answer_add_raw() 143 static int dns_answer_add_raw_all(DnsAnswer *a, DnsAnswer *source) { in dns_answer_add_raw_all() 162 DnsAnswer *a, in dns_answer_add() [all …]
|
D | resolved-dns-dnssec.h | 51 int dnssec_verify_rrset(DnsAnswer *answer, const DnsResourceKey *key, DnsResourceRecord *rrsig, Dns… 52 int dnssec_verify_rrset_search(DnsAnswer *answer, const DnsResourceKey *key, DnsAnswer *validated_d… 55 int dnssec_verify_dnskey_by_ds_search(DnsResourceRecord *dnskey, DnsAnswer *validated_ds); 57 int dnssec_has_rrsig(DnsAnswer *a, const DnsResourceKey *key); 73 int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authen… 75 int dnssec_test_positive_wildcard(DnsAnswer *a, const char *name, const char *source, const char *z…
|
D | resolved-dns-synthesize.c | 59 static int synthesize_localhost_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **… in synthesize_localhost_rr() 101 static int answer_add_ptr(DnsAnswer **answer, const char *from, const char *to, int ifindex, DnsAns… in answer_add_ptr() 115 static int synthesize_localhost_ptr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer *… in synthesize_localhost_ptr() 136 DnsAnswer **answer, in answer_add_addresses_rr() 167 DnsAnswer **answer, in answer_add_addresses_ptr() 210 …hesize_system_hostname_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { in synthesize_system_hostname_rr() 253 …name_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) { in synthesize_system_hostname_ptr() 319 DnsAnswer **answer) { in synthesize_gateway_rr() 358 …eway_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) { in synthesize_gateway_ptr() 377 DnsAnswer **ret) { in dns_synthesize_answer() [all …]
|
D | resolved-dns-trust-anchor.c | 40 DnsAnswer *answer, in add_root_ksk() 71 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_trust_anchor_add_builtin_positive() 204 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_trust_anchor_load_positive() 205 DnsAnswer *old_answer = NULL; in dns_trust_anchor_load_positive() 468 DnsAnswer *a; in dns_trust_anchor_dump() 536 int dns_trust_anchor_lookup_positive(DnsTrustAnchor *d, const DnsResourceKey *key, DnsAnswer **ret)… in dns_trust_anchor_lookup_positive() 537 DnsAnswer *a; in dns_trust_anchor_lookup_positive() 600 _cleanup_(dns_answer_unrefp) DnsAnswer *new_answer = NULL; in dns_trust_anchor_remove_revoked() 601 DnsAnswer *old_answer; in dns_trust_anchor_remove_revoked() 646 DnsAnswer *a; in dns_trust_anchor_check_revoked_one() [all …]
|
D | resolved-dns-query.h | 69 DnsAnswer *answer; 102 DnsAnswer *reply_answer; 103 DnsAnswer *reply_authoritative; 104 DnsAnswer *reply_additional;
|
D | resolved-dns-trust-anchor.h | 21 int dns_trust_anchor_lookup_positive(DnsTrustAnchor *d, const DnsResourceKey* key, DnsAnswer **answ… 24 int dns_trust_anchor_check_revoked(DnsTrustAnchor *d, DnsResourceRecord *dnskey, DnsAnswer *rrs);
|
D | resolved-dns-dnssec.c | 982 DnsAnswer *a, in dnssec_verify_rrset() 1171 DnsAnswer *a, in dnssec_verify_rrset_search() 1173 DnsAnswer *validated_dnskeys, in dnssec_verify_rrset_search() 1293 int dnssec_has_rrsig(DnsAnswer *a, const DnsResourceKey *key) { in dnssec_has_rrsig() 1436 int dnssec_verify_dnskey_by_ds_search(DnsResourceRecord *dnskey, DnsAnswer *validated_ds) { in dnssec_verify_dnskey_by_ds_search() 1706 static int dnssec_test_nsec3(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool… in dnssec_test_nsec3() 2110 int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authen… in dnssec_nsec_test() 2262 static int dnssec_nsec_test_enclosed(DnsAnswer *answer, uint16_t type, const char *name, const char… in dnssec_nsec_test_enclosed() 2356 DnsAnswer *answer, in dnssec_test_positive_wildcard_nsec3() 2393 DnsAnswer *answer, in dnssec_test_positive_wildcard_nsec() [all …]
|
D | resolved-dns-cache.h | 31 DnsAnswer *answer, 44 DnsAnswer **ret_answer,
|
D | resolved-dns-zone.h | 55 int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, int ifindex, DnsAnswer **answer, DnsAnswer **s…
|
D | resolved-dns-cache.c | 42 …DnsAnswer *answer; /* The full validated answer, if this is an RRset acquired via a "primary… 357 DnsAnswer *answer, in dns_cache_item_update_positive() 405 DnsAnswer *answer, in dns_cache_put_positive() 520 DnsAnswer *answer, in dns_cache_put_negative() 623 DnsAnswer *answer) { in dns_cache_remove_previous() 677 DnsAnswer *answer, in dns_cache_put() 913 DnsAnswer **answer, in answer_add_clamp_ttl() 970 DnsAnswer **ret_answer, in dns_cache_lookup() 976 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_cache_lookup()
|
D | resolved-dns-stub.c | 135 DnsAnswer **reply, in reply_add_with_rrsig() 160 DnsAnswer **reply, in dns_stub_collect_answer_by_question() 161 DnsAnswer *answer, in dns_stub_collect_answer_by_question() 205 DnsAnswer **reply, in dns_stub_collect_answer_by_section() 206 DnsAnswer *answer, in dns_stub_collect_answer_by_section() 208 DnsAnswer *exclude1, in dns_stub_collect_answer_by_section() 209 DnsAnswer *exclude2, in dns_stub_collect_answer_by_section() 354 DnsAnswer *answer, in dns_stub_add_reply_packet_body() 355 DnsAnswer *authoritative, in dns_stub_add_reply_packet_body() 356 DnsAnswer *additional, in dns_stub_add_reply_packet_body()
|
D | resolved-dns-zone.c | 105 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL; in dns_zone_remove_rrs_by_key() 280 static int dns_zone_add_authenticated_answer(DnsAnswer *a, DnsZoneItem *i, int ifindex) { in dns_zone_add_authenticated_answer() 298 int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, int ifindex, DnsAnswer **ret_answer, DnsAnswer… in dns_zone_lookup() 299 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL; in dns_zone_lookup()
|
D | resolved-dns-scope.h | 89 …y_packet(DnsScope *s, uint16_t id, int rcode, DnsQuestion *q, DnsAnswer *answer, DnsAnswer *soa, b…
|
D | test-dnssec.c | 113 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in TEST() 205 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in TEST() 298 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in TEST() 393 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in TEST() 482 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in TEST() 560 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in TEST() 667 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in TEST()
|
D | resolved-dns-transaction.h | 62 DnsAnswer *answer; 80 DnsAnswer *validated_keys;
|
D | resolved-dns-synthesize.h | 12 int dns_synthesize_answer(Manager *m, DnsQuestion *q, int ifindex, DnsAnswer **ret);
|
D | resolved-etc-hosts.h | 25 int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer);
|
D | resolved-mdns.c | 160 static int mdns_do_tiebreak(DnsResourceKey *key, DnsAnswer *answer, DnsPacket *p) { in mdns_do_tiebreak() 243 _cleanup_(dns_answer_unrefp) DnsAnswer *full_answer = NULL; in mdns_scope_process_query() 271 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL; in mdns_scope_process_query()
|
D | resolved-dns-packet.h | 71 DnsAnswer *answer; 230 int dns_packet_append_answer(DnsPacket *p, DnsAnswer *a, unsigned *completed);
|
D | resolved-dns-scope.c | 906 DnsAnswer *answer, in dns_scope_make_reply_packet() 907 DnsAnswer *soa, in dns_scope_make_reply_packet() 978 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL; in dns_scope_process_query() 1396 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_scope_announce()
|
D | resolved-dns-query.c | 632 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_query_synthesize_reply() 688 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_query_try_etc_hosts()
|
D | resolved-etc-hosts.c | 344 int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer) { in manager_etc_hosts_lookup()
|
D | resolved-dns-packet.c | 1233 int dns_packet_append_answer(DnsPacket *p, DnsAnswer *a, unsigned *completed) { in dns_packet_append_answer() 2235 static int dns_packet_extract_answer(DnsPacket *p, DnsAnswer **ret_answer) { in dns_packet_extract_answer() 2236 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_packet_extract_answer() 2382 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_packet_extract()
|
D | resolved-dns-transaction.c | 1869 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; in dns_transaction_make_packet_mdns() 2160 _cleanup_(dns_answer_unrefp) DnsAnswer *a = NULL; in dns_transaction_request_dnssec_rr() 3092 DnsAnswer **validated) { in dnssec_validate_records() 3353 _cleanup_(dns_answer_unrefp) DnsAnswer *validated = NULL; in dns_transaction_validate_dnssec()
|