Lines Matching refs:DnsTransaction

24 static void dns_transaction_reset_answer(DnsTransaction *t) {  in dns_transaction_reset_answer()
37 static void dns_transaction_flush_dnssec_transactions(DnsTransaction *t) { in dns_transaction_flush_dnssec_transactions()
38 DnsTransaction *z; in dns_transaction_flush_dnssec_transactions()
50 DnsTransaction *t, in dns_transaction_close_connection()
87 static void dns_transaction_stop_timeout(DnsTransaction *t) { in dns_transaction_stop_timeout()
93 DnsTransaction* dns_transaction_free(DnsTransaction *t) { in dns_transaction_free()
96 DnsTransaction *z; in dns_transaction_free()
113 DnsTransaction *first; in dns_transaction_free()
163 DEFINE_TRIVIAL_CLEANUP_FUNC(DnsTransaction*, dns_transaction_free);
165 DnsTransaction* dns_transaction_gc(DnsTransaction *t) { in dns_transaction_gc()
224 DnsTransaction **ret, in dns_transaction_new()
230 _cleanup_(dns_transaction_freep) DnsTransaction *t = NULL; in dns_transaction_new()
270 t = new(DnsTransaction, 1); in dns_transaction_new()
274 *t = (DnsTransaction) { in dns_transaction_new()
295 DnsTransaction *first; in dns_transaction_new()
319 static void dns_transaction_shuffle_id(DnsTransaction *t) { in dns_transaction_shuffle_id()
335 static void dns_transaction_tentative(DnsTransaction *t, DnsPacket *p) { in dns_transaction_tentative()
382 void dns_transaction_complete(DnsTransaction *t, DnsTransactionState state) { in dns_transaction_complete()
385 DnsTransaction *d; in dns_transaction_complete()
455 static void dns_transaction_complete_errno(DnsTransaction *t, int error) { in dns_transaction_complete_errno()
463 static int dns_transaction_pick_server(DnsTransaction *t) { in dns_transaction_pick_server()
507 static void dns_transaction_retry(DnsTransaction *t, bool next_server) { in dns_transaction_retry()
528 static bool dns_transaction_limited_retry(DnsTransaction *t) { in dns_transaction_limited_retry()
540 static int dns_transaction_maybe_restart(DnsTransaction *t) { in dns_transaction_maybe_restart()
570 static void on_transaction_stream_error(DnsTransaction *t, int error) { in on_transaction_stream_error()
590 static int dns_transaction_on_stream_packet(DnsTransaction *t, DnsStream *s, DnsPacket *p) { in dns_transaction_on_stream_packet()
631 DnsTransaction *t; in on_stream_complete()
646 DnsTransaction *t; in on_stream_packet()
662 static uint16_t dns_transaction_port(DnsTransaction *t) { in dns_transaction_port()
671 static int dns_transaction_emit_tcp(DnsTransaction *t) { in dns_transaction_emit_tcp()
799 static void dns_transaction_cache_answer(DnsTransaction *t) { in dns_transaction_cache_answer()
836 static bool dns_transaction_dnssec_is_live(DnsTransaction *t) { in dns_transaction_dnssec_is_live()
837 DnsTransaction *dt; in dns_transaction_dnssec_is_live()
848 static int dns_transaction_dnssec_ready(DnsTransaction *t) { in dns_transaction_dnssec_ready()
849 DnsTransaction *dt; in dns_transaction_dnssec_ready()
918 static void dns_transaction_process_dnssec(DnsTransaction *t) { in dns_transaction_process_dnssec()
987 static int dns_transaction_has_positive_answer(DnsTransaction *t, DnsAnswerFlags *flags) { in dns_transaction_has_positive_answer()
1006 static int dns_transaction_fix_rcode(DnsTransaction *t) { in dns_transaction_fix_rcode()
1036 void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p, bool encrypted) { in dns_transaction_process_reply()
1409 DnsTransaction *t = userdata; in on_dns_packet()
1461 static int dns_transaction_emit_udp(DnsTransaction *t) { in dns_transaction_emit_udp()
1521 DnsTransaction *t = userdata; in on_transaction_timeout()
1556 static usec_t transaction_get_resend_timeout(DnsTransaction *t) { in transaction_get_resend_timeout()
1587 static void dns_transaction_randomize_answer(DnsTransaction *t) { in dns_transaction_randomize_answer()
1611 static int dns_transaction_prepare(DnsTransaction *t, usec_t ts) { in dns_transaction_prepare()
1757 static int dns_transaction_make_packet_mdns(DnsTransaction *t) { in dns_transaction_make_packet_mdns()
1887 static int dns_transaction_make_packet(DnsTransaction *t) { in dns_transaction_make_packet()
1927 int dns_transaction_go(DnsTransaction *t) { in dns_transaction_go()
2086 static int dns_transaction_find_cyclic(DnsTransaction *t, DnsTransaction *aux) { in dns_transaction_find_cyclic()
2087 DnsTransaction *n; in dns_transaction_find_cyclic()
2107 …tatic int dns_transaction_add_dnssec_transaction(DnsTransaction *t, DnsResourceKey *key, DnsTransa… in dns_transaction_add_dnssec_transaction()
2108 _cleanup_(dns_transaction_gcp) DnsTransaction *aux = NULL; in dns_transaction_add_dnssec_transaction()
2159 static int dns_transaction_request_dnssec_rr(DnsTransaction *t, DnsResourceKey *key) { in dns_transaction_request_dnssec_rr()
2161 DnsTransaction *aux; in dns_transaction_request_dnssec_rr()
2195 static int dns_transaction_negative_trust_anchor_lookup(DnsTransaction *t, const char *name) { in dns_transaction_negative_trust_anchor_lookup()
2214 static int dns_transaction_has_negative_answer(DnsTransaction *t) { in dns_transaction_has_negative_answer()
2236 static int dns_transaction_is_primary_response(DnsTransaction *t, DnsResourceRecord *rr) { in dns_transaction_is_primary_response()
2253 static bool dns_transaction_dnssec_supported(DnsTransaction *t) { in dns_transaction_dnssec_supported()
2275 static bool dns_transaction_dnssec_supported_full(DnsTransaction *t) { in dns_transaction_dnssec_supported_full()
2276 DnsTransaction *dt; in dns_transaction_dnssec_supported_full()
2292 int dns_transaction_request_dnssec_keys(DnsTransaction *t) { in dns_transaction_request_dnssec_keys()
2611 void dns_transaction_notify(DnsTransaction *t, DnsTransaction *source) { in dns_transaction_notify()
2623 static int dns_transaction_validate_dnskey_by_ds(DnsTransaction *t) { in dns_transaction_validate_dnskey_by_ds()
2650 static int dns_transaction_requires_rrsig(DnsTransaction *t, DnsResourceRecord *rr) { in dns_transaction_requires_rrsig()
2679 DnsTransaction *dt; in dns_transaction_requires_rrsig()
2716 DnsTransaction *dt; in dns_transaction_requires_rrsig()
2759 DnsTransaction *dt; in dns_transaction_requires_rrsig()
2786 static int dns_transaction_in_private_tld(DnsTransaction *t, const DnsResourceKey *key) { in dns_transaction_in_private_tld()
2787 DnsTransaction *dt; in dns_transaction_in_private_tld()
2845 static int dns_transaction_requires_nsec(DnsTransaction *t) { in dns_transaction_requires_nsec()
2847 DnsTransaction *dt; in dns_transaction_requires_nsec()
2927 static int dns_transaction_dnskey_authenticated(DnsTransaction *t, DnsResourceRecord *rr) { in dns_transaction_dnskey_authenticated()
2943 DnsTransaction *dt; in dns_transaction_dnskey_authenticated()
2994 static int dns_transaction_known_signed(DnsTransaction *t, DnsResourceRecord *rr) { in dns_transaction_known_signed()
3005 static int dns_transaction_check_revoked_trust_anchors(DnsTransaction *t) { in dns_transaction_check_revoked_trust_anchors()
3025 static int dns_transaction_invalidate_revoked_keys(DnsTransaction *t) { in dns_transaction_invalidate_revoked_keys()
3058 static int dns_transaction_copy_validated(DnsTransaction *t) { in dns_transaction_copy_validated()
3059 DnsTransaction *dt; in dns_transaction_copy_validated()
3089 DnsTransaction *t, in dnssec_validate_records()
3352 int dns_transaction_validate_dnssec(DnsTransaction *t) { in dns_transaction_validate_dnssec()