Lines Matching refs:query

34                 .query = q,  in dns_query_candidate_new()
64 if (c->query) { in dns_query_candidate_unlink()
65 LIST_REMOVE(candidates_by_query, c->query->candidates, c); in dns_query_candidate_unlink()
66 c->query = NULL; in dns_query_candidate_unlink()
128 … assert(c->query); /* We shan't add transactions to a candidate that has been detached already */ in dns_query_candidate_add_transaction()
134 t = dns_scope_find_transaction(c->scope, key, c->query->flags); in dns_query_candidate_add_transaction()
136 r = dns_transaction_new(&t, c->scope, key, NULL, c->query->flags); in dns_query_candidate_add_transaction()
145 r = dns_transaction_new(&t, c->scope, NULL, bypass, c->query->flags); in dns_query_candidate_add_transaction()
247 … assert(c->query); /* We shan't add transactions to a candidate that has been detached already */ in dns_query_candidate_setup_transactions()
251 if (c->query->question_bypass) { in dns_query_candidate_setup_transactions()
254 assert(dns_question_size(c->query->question_bypass->question) == 1); in dns_query_candidate_setup_transactions()
256 … if (!dns_scope_good_key(c->scope, dns_question_first_key(c->query->question_bypass->question))) in dns_query_candidate_setup_transactions()
259 r = dns_query_candidate_add_transaction(c, NULL, c->query->question_bypass); in dns_query_candidate_setup_transactions()
266 question = dns_query_question_for_protocol(c->query, c->scope->protocol); in dns_query_candidate_setup_transactions()
305 if (!c->query) /* This candidate has been abandoned, do nothing. */ in dns_query_candidate_notify()
339 dns_query_ready(c->query); in dns_query_candidate_notify()
344 dns_query_ready(c->query); in dns_query_candidate_notify()