Searched refs:n_answer (Results 1 – 3 of 3) sorted by relevance
300 unsigned n_answer = 0; in dns_zone_lookup() local333 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()
360 unsigned n_answer = 0, n_authoritative = 0, n_additional = 0; in dns_stub_add_reply_packet_body() local371 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()
912 unsigned n_answer = 0, n_soa = 0; in dns_scope_make_reply_packet() local948 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()