Home
last modified time | relevance | path

Searched refs:ancount (Results 1 – 10 of 10) sorted by relevance

/external/tcpdump/
Dprint-domain.c563 register int qdcount, ancount, nscount, arcount; in ns_print() local
571 ancount = EXTRACT_16BITS(&np->ancount); in ns_print()
603 printf(" %d/%d/%d", ancount, nscount, arcount); in ns_print()
604 if (ancount--) { in ns_print()
607 while (cp < snapend && ancount--) { in ns_print()
613 if (ancount > 0) in ns_print()
657 if (ancount != 1) in ns_print()
658 printf(" [%da]", ancount); in ns_print()
661 if (ancount) in ns_print()
662 printf(" [%da]", ancount); in ns_print()
[all …]
Dnameser.h232 u_int16_t ancount; /* number of answer entries */ member
Dprint-smb.c1094 int qdcount, ancount, nscount, arcount; in nbt_udp137_print() local
1106 ancount = EXTRACT_16BITS(data + 6); in nbt_udp137_print()
1151 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, in nbt_udp137_print()
1156 total = ancount + nscount + arcount; in nbt_udp137_print()
/external/ipsec-tools/src/racoon/
Dgetcertsbyname.c211 int qdcount, ancount, rdlength; local
254 ancount = ntohs(hp->ancount);
277 while (ancount-- && cp < eom) {
/external/openssh/openbsd-compat/
Dgetrrsetbyname.c274 rrset->rri_nrdatas = response->header.ancount; in getrrsetbyname()
404 resp->header.ancount = ntohs(resp->header.ancount); in parse_dns_response()
424 resp->header.ancount); in parse_dns_response()
425 if (resp->header.ancount && resp->answer == NULL) { in parse_dns_response()
/external/dnsmasq/src/
Drfc1035.c424 …if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount) + ntohs(header->ar… in resize_packet()
480 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount), header, plen))) in find_pseudoheader()
590 !(p = do_doctor(p, ntohs(header->ancount), header, qlen))) in find_soa()
690 for (j = ntohs(header->ancount); j != 0; j--) in extract_addresses()
768 for (j = ntohs(header->ancount); j != 0; j--) in extract_addresses()
911 header->ancount = htons(0); /* no answers unless changed below */ in setup_reply()
921 header->ancount = htons(1); in setup_reply()
929 header->ancount = htons(1); in setup_reply()
987 for (i = ntohs(header->ancount); i != 0; i--) in check_for_bogus_wildcard()
1595 header->ancount = htons(anscount); in answer_request()
Dnameser.h315 unsigned ancount :16; /* number of answer entries */ member
Dforward.c405 if (!header->ra && header->rcode == NOERROR && ntohs(header->ancount) == 0 && in process_reply()
447 header->ancount = htons(0); in process_reply()
509 header->ancount = htons(0); in reply_query()
/external/libppp/src/
Dip.c97 u_short ancount; member
/external/mdnsresponder/mDNSShared/
Ddnsextd.c1936 int ancount = 0; in PrintLLQAnswers() local
1938 while (rr) { ancount++; rr = rr->next; } in PrintLLQAnswers()
1939 …%##s; type %d; referenced by %d LLQs; %d answers:", a, a->name.c, a->type, a->refcount, ancount); in PrintLLQAnswers()