Lines Matching refs:DnsAnswerItem
12 static DnsAnswerItem *dns_answer_item_free(DnsAnswerItem *item) { in dns_answer_item_free()
22 DEFINE_PRIVATE_TRIVIAL_REF_UNREF_FUNC(DnsAnswerItem, dns_answer_item, dns_answer_item_free);
23 DEFINE_TRIVIAL_CLEANUP_FUNC(DnsAnswerItem*, dns_answer_item_unref);
25 static void dns_answer_item_hash_func(const DnsAnswerItem *a, struct siphash *state) { in dns_answer_item_hash_func()
34 static int dns_answer_item_compare_func(const DnsAnswerItem *a, const DnsAnswerItem *b) { in dns_answer_item_compare_func()
49 DnsAnswerItem,
112 _cleanup_(dns_answer_item_unrefp) DnsAnswerItem *item = NULL; in dns_answer_add_raw()
123 item = new(DnsAnswerItem, 1); in dns_answer_add_raw()
127 *item = (DnsAnswerItem) { in dns_answer_add_raw()
144 DnsAnswerItem *item; in dns_answer_add_raw_all()
168 DnsAnswerItem tmp, *exist; in dns_answer_add()
177 tmp = (DnsAnswerItem) { in dns_answer_add()
213 DnsAnswerItem *item; in dns_answer_add_all()
493 DnsAnswerItem *item; in dns_answer_remove_by_key()
523 DnsAnswerItem *item; in dns_answer_remove_by_rr()
553 DnsAnswerItem *item; in dns_answer_remove_by_answer_keys()
584 DnsAnswerItem *item; in dns_answer_copy_by_key()
629 _cleanup_free_ DnsAnswerItem **items = NULL; in dns_answer_order_by_scope()
630 DnsAnswerItem **p, *item; in dns_answer_order_by_scope()
640 p = items = new(DnsAnswerItem*, n); in dns_answer_order_by_scope()
717 DnsAnswerItem *item; in dns_answer_dump()
799 _cleanup_free_ DnsAnswerItem **items = NULL; in dns_answer_randomize()
800 DnsAnswerItem **p, *item; in dns_answer_randomize()
809 p = items = new(DnsAnswerItem*, n); in dns_answer_randomize()