/systemd/src/resolve/ |
H A D | resolved-dns-answer.h | 22 typedef struct DnsAnswer DnsAnswer; typedef in typeref:struct:DnsAnswer 33 * Note that we usually encode the the empty DnsAnswer object as a simple NULL. */ 47 struct DnsAnswer { struct 53 DnsAnswer *dns_answer_new(unsigned n); 54 DnsAnswer *dns_answer_ref(DnsAnswer *a); 55 DnsAnswer *dns_answer_unref(DnsAnswer *a); 57 int dns_answer_add(DnsAnswer * [all...] |
H A D | resolved-etc-hosts.h | 28 int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer);
|
H A D | resolved-dns-synthesize.h | 30 int dns_synthesize_answer(Manager *m, DnsQuestion *q, int ifindex, DnsAnswer **ret);
|
H A D | resolved-dns-trust-anchor.h | 39 int dns_trust_anchor_lookup_positive(DnsTrustAnchor *d, const DnsResourceKey* key, DnsAnswer **answer); 42 int dns_trust_anchor_check_revoked(DnsTrustAnchor *d, DnsResourceRecord *dnskey, DnsAnswer *rrs);
|
H A D | resolved-dns-dnssec.h | 69 int dnssec_verify_rrset(DnsAnswer *answer, const DnsResourceKey *key, DnsResourceRecord *rrsig, DnsResourceRecord *dnskey, usec_t realtime, DnssecResult *result); 70 int dnssec_verify_rrset_search(DnsAnswer *answer, const DnsResourceKey *key, DnsAnswer *validated_dnskeys, usec_t realtime, DnssecResult *result, DnsResourceRecord **rrsig); 73 int dnssec_verify_dnskey_by_ds_search(DnsResourceRecord *dnskey, DnsAnswer *validated_ds); 75 int dnssec_has_rrsig(DnsAnswer *a, const DnsResourceKey *key); 93 int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl); 96 int dnssec_test_positive_wildcard(DnsAnswer *a, const char *name, const char *source, const char *zone, bool *authenticated);
|
H A D | resolved-dns-answer.c | 26 DnsAnswer *dns_answer_new(unsigned n) { 27 DnsAnswer *a; 29 a = malloc0(offsetof(DnsAnswer, items) + sizeof(DnsAnswerItem) * n); 39 DnsAnswer *dns_answer_ref(DnsAnswer *a) { 48 static void dns_answer_flush(DnsAnswer *a) { 60 DnsAnswer *dns_answer_unref(DnsAnswer *a) { 75 static int dns_answer_add_raw(DnsAnswer *a, DnsResourceRecord *rr, int ifindex, DnsAnswerFlags flags) { 93 static int dns_answer_add_raw_all(DnsAnswer * [all...] |
H A D | resolved-dns-cache.h | 42 int dns_cache_put(DnsCache *c, DnsResourceKey *key, int rcode, DnsAnswer *answer, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, int owner_family, const union in_addr_union *owner_address); 43 int dns_cache_lookup(DnsCache *c, DnsResourceKey *key, int *rcode, DnsAnswer **answer, bool *authenticated);
|
H A D | resolved-dns-synthesize.c | 75 static int synthesize_localhost_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 117 static int answer_add_ptr(DnsAnswer **answer, const char *from, const char *to, int ifindex, DnsAnswerFlags flags) { 131 static int synthesize_localhost_ptr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 152 DnsAnswer **answer, 183 DnsAnswer **answer, 223 static int synthesize_system_hostname_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 264 static int synthesize_system_hostname_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) { 307 static int synthesize_gateway_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 325 static int synthesize_gateway_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) { 344 DnsAnswer **re [all...] |
H A D | resolved-dns-zone.h | 68 int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, DnsAnswer **answer, DnsAnswer **soa, bool *tentative);
|
H A D | resolved-dns-transaction.h | 80 DnsAnswer *answer; 99 DnsAnswer *validated_keys;
|
H A D | resolved-dns-trust-anchor.c | 56 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; 193 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; 194 DnsAnswer *old_answer = NULL; 449 DnsAnswer *a; 511 DnsAnswer *a; 527 int dns_trust_anchor_lookup_positive(DnsTrustAnchor *d, const DnsResourceKey *key, DnsAnswer **ret) { 528 DnsAnswer *a; 572 _cleanup_(dns_answer_unrefp) DnsAnswer *new_answer = NULL; 573 DnsAnswer *old_answer; 615 DnsAnswer * [all...] |
H A D | resolved-dns-query.h | 81 DnsAnswer *answer;
|
H A D | resolved-dns-dnssec.c | 614 DnsAnswer *a, 886 DnsAnswer *a, 888 DnsAnswer *validated_dnskeys, 1008 int dnssec_has_rrsig(DnsAnswer *a, const DnsResourceKey *key) { 1115 int dnssec_verify_dnskey_by_ds_search(DnsResourceRecord *dnskey, DnsAnswer *validated_ds) { 1352 static int dnssec_test_nsec3(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl) { 1753 int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl) { 1887 static int dnssec_nsec_test_enclosed(DnsAnswer *answer, uint16_t type, const char *name, const char *zone, bool *authenticated) { 1981 DnsAnswer *answer, 2020 DnsAnswer *answe [all...] |
H A D | resolved-dns-zone.c | 285 int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, DnsAnswer **ret_answer, DnsAnswer **ret_soa, bool *ret_tentative) { 286 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL;
|
H A D | resolved-dns-cache.c | 560 DnsAnswer *answer) { 613 DnsAnswer *answer, 802 int dns_cache_lookup(DnsCache *c, DnsResourceKey *key, int *rcode, DnsAnswer **ret, bool *authenticated) { 803 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
|
H A D | resolved-dns-packet.h | 81 DnsAnswer *answer;
|
H A D | resolved-dns-scope.c | 598 DnsAnswer *answer, 599 DnsAnswer *soa, 683 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL;
|
H A D | resolved-etc-hosts.c | 327 int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer) {
|
H A D | resolved-dns-query.c | 598 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; 641 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
|
H A D | test-dnssec.c | 56 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL; 148 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
|
H A D | resolved-dns-transaction.c | 1641 _cleanup_(dns_answer_unrefp) DnsAnswer *a = NULL; 2545 _cleanup_(dns_answer_unrefp) DnsAnswer *validated = NULL;
|
H A D | resolved-dns-packet.c | 2093 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
|