Searched refs:DnsAnswer (Results 1 - 22 of 22) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-answer.h22 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 Dresolved-etc-hosts.h28 int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer);
H A Dresolved-dns-synthesize.h30 int dns_synthesize_answer(Manager *m, DnsQuestion *q, int ifindex, DnsAnswer **ret);
H A Dresolved-dns-trust-anchor.h39 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 Dresolved-dns-dnssec.h69 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 Dresolved-dns-answer.c26 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 Dresolved-dns-cache.h42 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 Dresolved-dns-synthesize.c75 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 Dresolved-dns-zone.h68 int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, DnsAnswer **answer, DnsAnswer **soa, bool *tentative);
H A Dresolved-dns-transaction.h80 DnsAnswer *answer;
99 DnsAnswer *validated_keys;
H A Dresolved-dns-trust-anchor.c56 _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 Dresolved-dns-query.h81 DnsAnswer *answer;
H A Dresolved-dns-dnssec.c614 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 Dresolved-dns-zone.c285 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 Dresolved-dns-cache.c560 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 Dresolved-dns-packet.h81 DnsAnswer *answer;
H A Dresolved-dns-scope.c598 DnsAnswer *answer,
599 DnsAnswer *soa,
683 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL;
H A Dresolved-etc-hosts.c327 int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer) {
H A Dresolved-dns-query.c598 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
641 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
H A Dtest-dnssec.c56 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
148 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
H A Dresolved-dns-transaction.c1641 _cleanup_(dns_answer_unrefp) DnsAnswer *a = NULL;
2545 _cleanup_(dns_answer_unrefp) DnsAnswer *validated = NULL;
H A Dresolved-dns-packet.c2093 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;

Completed in 102 milliseconds