/systemd/src/journal-remote/ |
H A D | journal-upload.h | 31 char *answer; member in struct:Uploader
|
/systemd/src/resolve/ |
H A D | resolved-dns-query.h | 30 #include "resolved-dns-answer.h" 81 DnsAnswer *answer; member in struct:DnsQuery
|
H A D | resolved-dns-synthesize.c | 28 * interface, we synthesize the answer for that 30 * only return localhost RRs, we synthesize the answer for 44 * question, even though we are synthesizing the answer 75 static int synthesize_localhost_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { argument 80 assert(answer); 82 r = dns_answer_reserve(answer, 2); 95 r = dns_answer_add(*answer, rr, dns_synthesize_ifindex(ifindex), DNS_ANSWER_AUTHENTICATED); 109 r = dns_answer_add(*answer, rr, dns_synthesize_ifindex(ifindex), DNS_ANSWER_AUTHENTICATED); 117 static int answer_add_ptr(DnsAnswer **answer, const char *from, const char *to, int ifindex, DnsAnswerFlags flags) { argument 128 return dns_answer_add(*answer, r 131 synthesize_localhost_ptr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) argument 151 answer_add_addresses_rr( DnsAnswer **answer, const char *name, struct local_address *addresses, unsigned n_addresses) argument 182 answer_add_addresses_ptr( DnsAnswer **answer, const char *name, struct local_address *addresses, unsigned n_addresses, int af, const union in_addr_union *match) argument 223 synthesize_system_hostname_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) argument 264 synthesize_system_hostname_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) argument 307 synthesize_gateway_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) argument 325 synthesize_gateway_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) argument [all...] |
H A D | resolved-etc-hosts.c | 327 int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer) { argument 338 assert(answer); 378 r = dns_answer_reserve(answer, strv_length(item->names)); 393 r = dns_answer_add(*answer, rr, 0, DNS_ANSWER_AUTHENTICATED); 406 r = dns_answer_reserve(answer, bn->n_items); 442 r = dns_answer_add(*answer, rr, 0, DNS_ANSWER_AUTHENTICATED);
|
H A D | resolved-dns-answer.c | 22 #include "resolved-dns-answer.h" 321 int dns_answer_contains_zone_nsec3(DnsAnswer *answer, const char *zone) { argument 325 /* Checks whether the specified answer contains at least one NSEC3 RR in the specified zone */ 327 DNS_ANSWER_FOREACH(rr, answer) { 494 *a = dns_answer_unref(*a); /* Return NULL for the empty answer */ 580 *a = dns_answer_unref(*a); /* Return NULL for the empty answer */ 786 void dns_answer_dump(DnsAnswer *answer, FILE *f) { argument 794 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, answer) { 829 /* Checks whether the answer contains a DNAME record that indicates that the specified CNAME record is
|
H A D | resolved-dns-scope.c | 598 DnsAnswer *answer, 611 && (!answer || answer->n_rrs <= 0) 641 if (answer) { 642 for (i = 0; i < answer->n_rrs; i++) { 643 r = dns_packet_append_rr(p, answer->items[i].rr, NULL, NULL); 648 DNS_PACKET_HEADER(p)->ancount = htobe16(answer->n_rrs); 676 if (p->answer) 677 for (n = 0; n < p->answer->n_rrs; n++) 678 dns_zone_verify_conflicts(&s->zone, p->answer 593 dns_scope_make_reply_packet( DnsScope *s, uint16_t id, int rcode, DnsQuestion *q, DnsAnswer *answer, DnsAnswer *soa, bool tentative, DnsPacket **ret) argument [all...] |
H A D | resolved-dns-transaction.h | 58 #include "resolved-dns-answer.h" 80 DnsAnswer *answer; member in struct:DnsTransaction 87 /* Indicates whether the primary answer is authenticated, 88 * i.e. whether the RRs from answer which directly match the 91 * additional RRs listed in the answer, however they have 94 * that covers more than just the actual primary answer. */
|
H A D | resolved-dns-cache.c | 22 #include "resolved-dns-answer.h" 560 DnsAnswer *answer) { 573 /* Second, flush all entries matching the answer, unless this 576 DNS_ANSWER_FOREACH_FLAGS(rr, flags, answer) { 613 DnsAnswer *answer, 628 dns_cache_remove_previous(c, key, answer); 630 if (dns_answer_size(answer) <= 0) { 650 cache_keys = dns_answer_size(answer); 661 DNS_ANSWER_FOREACH_FULL(rr, ifindex, flags, answer) { 687 r = dns_answer_match_key(answer, ke 557 dns_cache_remove_previous( DnsCache *c, DnsResourceKey *key, DnsAnswer *answer) argument 609 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) argument [all...] |
H A D | resolved-dns-packet.h | 34 #include "resolved-dns-answer.h" 81 DnsAnswer *answer; member in struct:DnsPacket
|
H A D | resolved-dns-dnssec.c | 1352 static int dnssec_test_nsec3(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl) { argument 1370 DNS_ANSWER_FOREACH_FLAGS(zone_rr, flags, answer) { 1396 /* Second step, find the closest encloser NSEC3 RR in 'answer' that matches 'key' */ 1409 DNS_ANSWER_FOREACH_FLAGS(enclosure_rr, flags, answer) { 1506 DNS_ANSWER_FOREACH_FLAGS(rr, flags, answer) { 1753 int dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl) { argument 1767 DNS_ANSWER_FOREACH_FLAGS(rr, flags, answer) { 1880 return dnssec_test_nsec3(answer, key, result, authenticated, ttl); 1887 static int dnssec_nsec_test_enclosed(DnsAnswer *answer, uint16_t type, const char *name, const char *zone, bool *authenticated) { argument 1898 DNS_ANSWER_FOREACH_FLAGS(rr, flags, answer) { 1980 dnssec_test_positive_wildcard_nsec3( DnsAnswer *answer, const char *name, const char *source, const char *zone, bool *authenticated) argument 2019 dnssec_test_positive_wildcard_nsec( DnsAnswer *answer, const char *name, const char *source, const char *zone, bool *_authenticated) argument 2096 dnssec_test_positive_wildcard( DnsAnswer *answer, const char *name, const char *source, const char *zone, bool *authenticated) argument 2173 dnssec_nsec_test(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl) argument 2178 dnssec_test_positive_wildcard( DnsAnswer *answer, const char *name, const char *source, const char *zone, bool *authenticated) argument [all...] |