Searched refs:ancount (Results 1 - 25 of 29) sorted by last modified time

12

/macosx-10.10/Libinfo-459/lookup.subproj/
H A Dmdns_module.c1323 ans->ancount = htons(ntohs(ans->ancount) + 1);
/macosx-10.10/ntp-92/ntpd/
H A Dntp_peer.c1032 printf("answer count: %d\n", reply->header->ancount); /* skip if <= 0 */
1035 for (a = 0; a < reply->header->ancount; a++) {
/macosx-10.10/ruby-106/ruby/lib/
H A Dresolv.rb1443 id, flag, qdcount, ancount, nscount, arcount =
1457 (1..ancount).each {
/macosx-10.10/postfix-255/postfix/src/dns/
H A Ddns_lookup.c331 reply->answer_count = ntohs(reply_header->ancount);
/macosx-10.10/ruby-106/ruby/test/resolv/
H A Dtest_dns.rb42 id, word2, qdcount, ancount, nscount, arcount = msg.unpack("nnnnnn")
61 assert_equal(0, ancount) # number of entries in the answer section.
81 ancount = 1
92 msg = [id, word2, qdcount, ancount, nscount, arcount].pack("nnnnnn")
/macosx-10.10/tcpdump-61/tcpdump/
H A Dprint-domain.c582 register int qdcount, ancount, nscount, arcount; local
590 ancount = EXTRACT_16BITS(&np->ancount);
622 printf(" %d/%d/%d", ancount, nscount, arcount);
623 if (ancount--) {
626 while (cp < snapend && ancount--) {
632 if (ancount > 0)
676 if (ancount != 1)
677 printf(" [%da]", ancount);
680 if (ancount)
[all...]
H A Dprint-smb.c1094 int qdcount, ancount, nscount, arcount; local
1106 ancount = EXTRACT_16BITS(data + 6);
1151 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount,
1156 total = ancount + nscount + arcount;
H A Dnameser.h232 u_int16_t ancount; /* number of answer entries */ member in struct:__anon13953
/macosx-10.10/mDNSResponder-561.1.1/mDNSShared/
H A Ddnsextd.c1936 int ancount = 0; local
1938 while (rr) { ancount++; rr = rr->next; }
1939 Log("%p : Question %##s; type %d; referenced by %d LLQs; %d answers:", a, a->name.c, a->type, a->refcount, ancount);
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dresolve.c440 r->h.ancount = (p[6] << 8) | p[7];
471 for(i = 0; i < r->h.ancount; i++) {
H A Dresolve.h220 unsigned ancount; member in struct:rk_dns_header
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dgetrrsetbyname.c173 u_int16_t ancount; member in struct:dns_header
285 rrset->rri_nrdatas = response->header.ancount;
415 resp->header.ancount = ntohs(resp->header.ancount);
435 resp->header.ancount);
436 if (resp->header.ancount && resp->answer == NULL) {
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/
H A Dans.pl225 for (1 .. $header->ancount) {
/macosx-10.10/bind9-45.101/bind9/contrib/query-loc-0.4.0/
H A Dloc.c413 count = ntohs (response.hdr.ancount) +
556 count = ntohs (response.hdr.ancount) +
/macosx-10.10/Libinfo-459/dns.subproj/
H A Dres_query.c101 if (ntohs(hp->ancount) == 0) {
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/upforwd/ans4/
H A Dans.pl192 for (1 .. $header->ancount) {
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Dgetcertsbyname.c207 int qdcount, ancount, rdlength; local
250 ancount = ntohs(hp->ancount);
273 while (ancount-- && cp < eom) {
/macosx-10.10/libresolv-57/
H A Ddns_util.c812 h->ancount = _dns_parse_uint16(&x);
827 h->ancount = 0;
837 r->answer = (dns_resource_record_t **)calloc(h->ancount, size);
838 for (i = 0; i < h->ancount; i++)
843 h->ancount = 0;
844 if (i > 0) h->ancount = i - 1;
1051 for (i = 0; i < r->header->ancount; i++) dns_free_resource_record(r->answer[i]);
1184 h->ancount = htons(dnsr->header->ancount);
1193 for (i = 0; i < dnsr->header->ancount;
[all...]
H A Dres_query.c222 ans->ancount = htons(ntohs(ans->ancount) + 1);
454 else if ((n == 0) && (ans->ancount == 0))
476 if ((ans->ancount > 0) && ((context.flags & kDNSServiceFlagsMoreComing) == 0) && ((context.lastanstype != ns_t_cname) || (type == ns_t_cname))) wait = 0;
506 if ((ans->ancount == 0) || (cancelled == 1)) context.anslen = -1;
640 if ((hp->rcode == ns_r_nxdomain) || ((hp->rcode == ns_r_noerror) && (ntohs(hp->ancount) == 0)))
649 if (hp->rcode != ns_r_noerror || ntohs(hp->ancount) == 0)
652 if (statp->options & RES_DEBUG) printf(";; rcode = %d, ancount=%d\n", hp->rcode, ntohs(hp->ancount));
H A Dres_private.h52 unsigned ancount :16; /* number of answer entries */ member in struct:__anon9662
H A Dres_mkquery.c207 hp->ancount = htons(1);
H A Ddns_util.h74 uint16_t ancount; member in struct:__anon9640
/macosx-10.10/libpcap-48/libpcap/Win32/Include/arpa/
H A Dnameser.h282 unsigned ancount :16; /* number of answer entries */ member in struct:__anon9588
/macosx-10.10/network_cmds-457/alias/
H A Dalias_nbt.c106 u_short ancount; member in struct:__anon11275
680 ntohs(nsh->ancount),
698 if (ntohs(nsh->ancount) !=0 ) {
700 ntohs(nsh->ancount),
/macosx-10.10/Libc-1044.1.2/include/arpa/
H A Dnameser_compat.h96 unsigned ancount :16; /* number of answer entries */ member in struct:__anon2734

Completed in 264 milliseconds

12