Home
last modified time | relevance | path

Searched refs:dns_question_size (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-question.h54 static inline size_t dns_question_size(DnsQuestion *q) { in dns_question_size() function
59 return dns_question_size(q) <= 0; in dns_question_isempty()
79 UNIQ_T(i, u) < dns_question_size(q); \
80 … UNIQ_T(i, u)++, (item) = (UNIQ_T(i, u) < dns_question_size(q) ? (q)->items + UNIQ_T(i, u) : NULL))
Dresolved-dns-query.c254 assert(dns_question_size(c->query->question_bypass->question) == 1); in dns_query_candidate_setup_transactions()
470 if (dns_question_size(question_utf8) > 0) { in dns_query_new()
487 if (dns_question_size(question_idna) > 0) { in dns_query_new()
Dtest-resolved-stream.c194 DNS_PACKET_HEADER(p)->qdcount = htobe16(dns_question_size(question)); in send_simple_question()
Dresolved-dns-question.c226 if (dns_question_size(q) <= 0) { in dns_question_cname_redirect()
Dresolved-mdns.c259 assert_return((dns_question_size(p->question) > 0), -EINVAL); in mdns_scope_process_query()
Dresolved-dns-scope.c946 DNS_PACKET_HEADER(p)->qdcount = htobe16(dns_question_size(q)); in dns_scope_make_reply_packet()
1014 assert(dns_question_size(p->question) == 1); in dns_scope_process_query()
Dresolved-dns-stub.c346 DNS_PACKET_HEADER(p)->qdcount = htobe16(dns_question_size(q)); in dns_stub_make_reply_packet()