Lines Matching refs:auxiliary_for
388 if (q->auxiliary_for) { in dns_query_free()
389 assert(q->auxiliary_for->n_auxiliary_queries > 0); in dns_query_free()
390 q->auxiliary_for->n_auxiliary_queries--; in dns_query_free()
391 LIST_REMOVE(auxiliary_queries, q->auxiliary_for->auxiliary_queries, q); in dns_query_free()
554 int dns_query_make_auxiliary(DnsQuery *q, DnsQuery *auxiliary_for) { in dns_query_make_auxiliary() argument
556 assert(auxiliary_for); in dns_query_make_auxiliary()
560 assert(!q->auxiliary_for); in dns_query_make_auxiliary()
565 assert(!auxiliary_for->auxiliary_for); in dns_query_make_auxiliary()
567 if (auxiliary_for->n_auxiliary_queries >= AUXILIARY_QUERIES_MAX) in dns_query_make_auxiliary()
570 LIST_PREPEND(auxiliary_queries, auxiliary_for->auxiliary_queries, q); in dns_query_make_auxiliary()
571 q->auxiliary_for = auxiliary_for; in dns_query_make_auxiliary()
573 auxiliary_for->n_auxiliary_queries++; in dns_query_make_auxiliary()