Lines Matching refs:DnsAnswer
54 static int dns_answer_reserve_internal(DnsAnswer *a, size_t n) { in dns_answer_reserve_internal()
70 DnsAnswer *dns_answer_new(size_t n) { in dns_answer_new()
72 _cleanup_(dns_answer_unrefp) DnsAnswer *a = NULL; in dns_answer_new()
81 a = new(DnsAnswer, 1); in dns_answer_new()
85 *a = (DnsAnswer) { in dns_answer_new()
96 static DnsAnswer *dns_answer_free(DnsAnswer *a) { in dns_answer_free()
103 DEFINE_TRIVIAL_REF_UNREF_FUNC(DnsAnswer, dns_answer, dns_answer_free);
106 DnsAnswer *a, in dns_answer_add_raw()
143 static int dns_answer_add_raw_all(DnsAnswer *a, DnsAnswer *source) { in dns_answer_add_raw_all()
162 DnsAnswer *a, in dns_answer_add()
212 static int dns_answer_add_all(DnsAnswer *a, DnsAnswer *b) { in dns_answer_add_all()
226 DnsAnswer **a, in dns_answer_add_extend()
244 int dns_answer_add_soa(DnsAnswer *a, const char *name, uint32_t ttl, int ifindex) { in dns_answer_add_soa()
270 int dns_answer_match_key(DnsAnswer *a, const DnsResourceKey *key, DnsAnswerFlags *ret_flags) { in dns_answer_match_key()
302 bool dns_answer_contains_nsec_or_nsec3(DnsAnswer *a) { in dns_answer_contains_nsec_or_nsec3()
312 int dns_answer_contains_zone_nsec3(DnsAnswer *answer, const char *zone) { in dns_answer_contains_zone_nsec3()
339 bool dns_answer_contains(DnsAnswer *answer, DnsResourceRecord *rr) { in dns_answer_contains()
350 DnsAnswer *a, in dns_answer_find_soa()
404 DnsAnswer *a, in dns_answer_find_cname_or_dname()
440 int dns_answer_merge(DnsAnswer *a, DnsAnswer *b, DnsAnswer **ret) { in dns_answer_merge()
441 _cleanup_(dns_answer_unrefp) DnsAnswer *k = NULL; in dns_answer_merge()
478 int dns_answer_extend(DnsAnswer **a, DnsAnswer *b) { in dns_answer_extend()
479 DnsAnswer *merged; in dns_answer_extend()
492 int dns_answer_remove_by_key(DnsAnswer **a, const DnsResourceKey *key) { in dns_answer_remove_by_key()
521 int dns_answer_remove_by_rr(DnsAnswer **a, DnsResourceRecord *rr) { in dns_answer_remove_by_rr()
551 int dns_answer_remove_by_answer_keys(DnsAnswer **a, DnsAnswer *b) { in dns_answer_remove_by_answer_keys()
578 DnsAnswer **a, in dns_answer_copy_by_key()
579 DnsAnswer *source, in dns_answer_copy_by_key()
609 DnsAnswer **to, in dns_answer_move_by_key()
610 DnsAnswer **from, in dns_answer_move_by_key()
628 void dns_answer_order_by_scope(DnsAnswer *a, bool prefer_link_local) { in dns_answer_order_by_scope()
662 int dns_answer_reserve(DnsAnswer **a, size_t n_free) { in dns_answer_reserve()
669 DnsAnswer *n; in dns_answer_reserve()
685 int dns_answer_reserve_or_clone(DnsAnswer **a, size_t n_free) { in dns_answer_reserve_or_clone()
686 _cleanup_(dns_answer_unrefp) DnsAnswer *n = NULL; in dns_answer_reserve_or_clone()
716 void dns_answer_dump(DnsAnswer *answer, FILE *f) { in dns_answer_dump()
762 int dns_answer_has_dname_for_cname(DnsAnswer *a, DnsResourceRecord *cname) { in dns_answer_has_dname_for_cname()
798 void dns_answer_randomize(DnsAnswer *a) { in dns_answer_randomize()
833 uint32_t dns_answer_min_ttl(DnsAnswer *a) { in dns_answer_min_ttl()