/systemd/src/resolve/ |
H A D | resolved-dns-rr.h | 30 typedef struct DnsResourceKey DnsResourceKey; typedef in typeref:struct:DnsResourceKey 81 struct DnsResourceKey { struct 88 * look up something, without allocating a full DnsResourceKey object 92 ((DnsResourceKey) { \ 108 DnsResourceKey *key; 255 static inline const char* DNS_RESOURCE_KEY_NAME(const DnsResourceKey *key) { 262 return (char*) key + sizeof(DnsResourceKey); 286 DnsResourceKey* dns_resource_key_new(uint16_t class, uint16_t type, const char *name); 287 DnsResourceKey* dns_resource_key_new_redirec [all...] |
H A D | resolved-dns-dnssec.h | 67 int dnssec_key_match_rrsig(const DnsResourceKey *key, DnsResourceRecord *rrsig); 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); 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);
|
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-trust-anchor.h | 39 int dns_trust_anchor_lookup_positive(DnsTrustAnchor *d, const DnsResourceKey* key, DnsAnswer **answer);
|
H A D | resolved-dns-question.h | 32 DnsResourceKey* keys[0]; 43 int dns_question_add(DnsQuestion *q, DnsResourceKey *key); 48 int dns_question_contains(DnsQuestion *a, const DnsResourceKey *k);
|
H A D | resolved-dns-zone.h | 68 int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, DnsAnswer **answer, DnsAnswer **soa, bool *tentative); 74 int dns_zone_verify_conflicts(DnsZone *zone, DnsResourceKey *key);
|
H A D | resolved-dns-answer.h | 61 int dns_answer_match_key(DnsAnswer *a, const DnsResourceKey *key, DnsAnswerFlags *combined_flags); 63 int dns_answer_contains_key(DnsAnswer *a, const DnsResourceKey *key, DnsAnswerFlags *combined_flags); 67 int dns_answer_find_soa(DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord **ret, DnsAnswerFlags *flags); 68 int dns_answer_find_cname_or_dname(DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord **ret, DnsAnswerFlags *flags); 78 int dns_answer_remove_by_key(DnsAnswer **a, const DnsResourceKey *key); 81 int dns_answer_copy_by_key(DnsAnswer **a, DnsAnswer *source, const DnsResourceKey *key, DnsAnswerFlags or_flags); 82 int dns_answer_move_by_key(DnsAnswer **to, DnsAnswer **from, const DnsResourceKey *key, DnsAnswerFlags or_flags);
|
H A D | resolved-dns-question.c | 30 q = malloc0(offsetof(DnsQuestion, keys) + sizeof(DnsResourceKey*) * n); 67 int dns_question_add(DnsQuestion *q, DnsResourceKey *key) { 169 int dns_question_contains(DnsQuestion *a, const DnsResourceKey *k) { 218 DnsResourceKey *key; 269 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *k = NULL; 321 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 333 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 351 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 394 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL;
|
H A D | resolved-manager.h | 112 DnsResourceKey *llmnr_host_ipv4_key; 113 DnsResourceKey *llmnr_host_ipv6_key; 169 void manager_dnssec_verdict(Manager *m, DnssecVerdict verdict, const DnsResourceKey *key);
|
H A D | resolved-dns-scope.h | 88 bool dns_scope_good_key(DnsScope *s, const DnsResourceKey *key); 98 DnsTransaction *dns_scope_find_transaction(DnsScope *scope, DnsResourceKey *key, bool cache_ok);
|
H A D | resolved-dns-rr.c | 34 DnsResourceKey* dns_resource_key_new(uint16_t class, uint16_t type, const char *name) { 35 DnsResourceKey *k; 41 k = malloc0(sizeof(DnsResourceKey) + l + 1); 49 strcpy((char*) k + sizeof(DnsResourceKey), name); 54 DnsResourceKey* dns_resource_key_new_redirect(const DnsResourceKey *key, const DnsResourceRecord *cname) { 65 DnsResourceKey *k; 72 return dns_resource_key_ref((DnsResourceKey*) key); 84 int dns_resource_key_new_append_suffix(DnsResourceKey **ret, DnsResourceKey *ke [all...] |
H A D | resolved-dns-transaction.h | 66 DnsResourceKey *key; 143 int dns_transaction_new(DnsTransaction **ret, DnsScope *s, DnsResourceKey *key);
|
H A D | resolved-dns-synthesize.c | 75 static int synthesize_localhost_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 131 static int synthesize_localhost_ptr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 223 static int synthesize_system_hostname_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 307 static int synthesize_gateway_rr(Manager *m, const DnsResourceKey *key, int ifindex, DnsAnswer **answer) { 347 DnsResourceKey *key;
|
H A D | resolved-dns-cache.c | 45 DnsResourceKey *key; 110 static bool dns_cache_remove_by_key(DnsCache *c, DnsResourceKey *key) { 129 DnsResourceKey *key; 155 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 200 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 249 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *k = NULL; 466 DnsResourceKey *key, 559 DnsResourceKey *key, 611 DnsResourceKey *key, 747 static DnsCacheItem *dns_cache_get_by_key_follow_cname_dname_nsec(DnsCache *c, DnsResourceKey * [all...] |
H A D | resolved-dns-answer.c | 214 int dns_answer_match_key(DnsAnswer *a, const DnsResourceKey *key, DnsAnswerFlags *ret_flags) { 278 int dns_answer_contains_key(DnsAnswer *a, const DnsResourceKey *key, DnsAnswerFlags *ret_flags) { 348 int dns_answer_find_soa(DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord **ret, DnsAnswerFlags *flags) { 389 int dns_answer_find_cname_or_dname(DnsAnswer *a, const DnsResourceKey *key, DnsResourceRecord **ret, DnsAnswerFlags *flags) { 466 int dns_answer_remove_by_key(DnsAnswer **a, const DnsResourceKey *key) { 638 int dns_answer_copy_by_key(DnsAnswer **a, DnsAnswer *source, const DnsResourceKey *key, DnsAnswerFlags or_flags) { 669 int dns_answer_move_by_key(DnsAnswer **to, DnsAnswer **from, const DnsResourceKey *key, DnsAnswerFlags or_flags) {
|
H A D | resolved-dns-packet.h | 173 int dns_packet_is_reply_for(DnsPacket *p, const DnsResourceKey *key); 183 int dns_packet_append_key(DnsPacket *p, const DnsResourceKey *key, size_t *start); 198 int dns_packet_read_key(DnsPacket *p, DnsResourceKey **ret, bool *ret_cache_flush, size_t *start);
|
H A D | resolved-dns-dnssec.c | 615 const DnsResourceKey *key, 869 int dnssec_key_match_rrsig(const DnsResourceKey *key, DnsResourceRecord *rrsig) { 887 const DnsResourceKey *key, 1008 int dnssec_has_rrsig(DnsAnswer *a, const DnsResourceKey *key) { 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) { 2123 const DnsResourceKey *key, 2137 int dnssec_key_match_rrsig(const DnsResourceKey *key, DnsResourceRecord *rrsig) { 2144 const DnsResourceKey *key, 2153 int dnssec_has_rrsig(DnsAnswer *a, const DnsResourceKey *ke [all...] |
H A D | resolved-dns-query.c | 117 static int dns_query_candidate_add_transaction(DnsQueryCandidate *c, DnsResourceKey *key) { 258 DnsResourceKey *key; 269 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *new_key = NULL; 270 DnsResourceKey *qkey; 421 DnsResourceKey *key;
|
H A D | resolved-dns-zone.c | 174 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 285 int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, DnsAnswer **ret_answer, DnsAnswer **ret_soa, bool *ret_tentative) { 587 int dns_zone_verify_conflicts(DnsZone *zone, DnsResourceKey *key) {
|
H A D | resolved-etc-hosts.c | 331 DnsResourceKey *t; 351 DnsResourceKey *found_ptr = NULL;
|
H A D | resolved-dns-transaction.c | 156 int dns_transaction_new(DnsTransaction **ret, DnsScope *s, DnsResourceKey *key) { 1582 static int dns_transaction_add_dnssec_transaction(DnsTransaction *t, DnsResourceKey *key, DnsTransaction **ret) { 1640 static int dns_transaction_request_dnssec_rr(DnsTransaction *t, DnsResourceKey *key) { 1829 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *dnskey = NULL; 1873 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *ds = NULL; 1902 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *ds = NULL; 1938 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *soa = NULL; 1989 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *soa = NULL; 2052 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *soa = NULL; 2247 static int dns_transaction_in_private_tld(DnsTransaction *t, const DnsResourceKey *ke [all...] |
H A D | resolved-dns-packet.c | 559 int dns_packet_append_key(DnsPacket *p, const DnsResourceKey *k, size_t *start) { 1522 int dns_packet_read_key(DnsPacket *p, DnsResourceKey **ret, bool *ret_cache_flush, size_t *start) { 1526 DnsResourceKey *key; 1584 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 2113 _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; 2244 int dns_packet_is_reply_for(DnsPacket *p, const DnsResourceKey *key) {
|
H A D | resolved-dns-scope.c | 490 bool dns_scope_good_key(DnsScope *s, const DnsResourceKey *key) { 684 DnsResourceKey *key = NULL; 771 DnsTransaction *dns_scope_find_transaction(DnsScope *scope, DnsResourceKey *key, bool cache_ok) {
|
H A D | resolved-dns-trust-anchor.c | 527 int dns_trust_anchor_lookup_positive(DnsTrustAnchor *d, const DnsResourceKey *key, DnsAnswer **ret) {
|
H A D | resolved-manager.c | 1212 void manager_dnssec_verdict(Manager *m, DnssecVerdict verdict, const DnsResourceKey *key) {
|