Home
last modified time | relevance | path

Searched refs:n_answer (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-zone.c300 unsigned n_answer = 0; in dns_zone_lookup() local
333 n_answer++; in dns_zone_lookup()
354 n_answer++; in dns_zone_lookup()
369 if (n_answer <= 0 && !need_soa) in dns_zone_lookup()
372 if (n_answer > 0) { in dns_zone_lookup()
373 answer = dns_answer_new(n_answer); in dns_zone_lookup()
Dresolved-dns-stub.c360 unsigned n_answer = 0, n_authoritative = 0, n_additional = 0; in dns_stub_add_reply_packet_body() local
371 r = dns_packet_append_answer(p, answer, &n_answer); in dns_stub_add_reply_packet_body()
397 DNS_PACKET_HEADER(p)->ancount = htobe16(n_answer); in dns_stub_add_reply_packet_body()
Dresolved-dns-scope.c912 unsigned n_answer = 0, n_soa = 0; in dns_scope_make_reply_packet() local
948 r = dns_packet_append_answer(p, answer, &n_answer); in dns_scope_make_reply_packet()
951 DNS_PACKET_HEADER(p)->ancount = htobe16(n_answer); in dns_scope_make_reply_packet()