/freebsd-9.3-release/usr.sbin/pkg/ |
H A D | dns_utils.c | 120 int len, qdcount, ancount, n, i, f, l; local 128 ancount = ntohs(q.hdr.ancount); 140 res = calloc(ancount, sizeof(struct dns_srvinfo *)); 145 while (ancount > 0 && p < end) { 146 ancount--;
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-domain.c | 584 register int qdcount, ancount, nscount, arcount; local 592 ancount = EXTRACT_16BITS(&np->ancount); 624 printf(" %d/%d/%d", ancount, nscount, arcount); 625 if (ancount--) { 628 while (cp < snapend && ancount--) { 634 if (ancount > 0) 678 if (ancount != 1) 679 printf(" [%da]", ancount); 682 if (ancount) [all...] |
H A D | nameser.h | 232 u_int16_t ancount; /* number of answer entries */ member in struct:__anon4076
|
H A D | print-smb.c | 1094 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;
|
/freebsd-9.3-release/contrib/sendmail/contrib/ |
H A D | bitdomain.c | 216 int ancount, qdcount; local 281 for (ancount = ntohs(hp->ancount); --ancount >= 0 && ap < eom; ap += n)
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | hesiod.c | 376 int ancount, qdcount, i, j, n, skip, type, class, len; local 396 ancount = ntohs(hp->ancount); 415 list = malloc((ancount + 1) * sizeof(char *)); 422 for (i = 0; i < ancount; i++) { 471 if (i < ancount) {
|
H A D | getnetbydns.c | 164 int type, class, ancount, qdcount, haveanswer; local 185 ancount = ntohs(hp->ancount); /* #/records in the answer section */ 203 while (--ancount >= 0 && cp < eom) {
|
H A D | gethostbydns.c | 152 int type, class, ancount, qdcount; local 178 ancount = ntohs(hp->ancount); 218 while (ancount-- > 0 && cp < eom && !had_error) {
|
H A D | getaddrinfo.c | 1925 int type, class, ancount, qdcount; local 1949 ancount = ntohs(hp->ancount); 1981 while (ancount-- > 0 && cp < eom && !had_error) { 2571 int ancount; local 2574 ancount = 0; 2643 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 2647 printf(";; rcode = %u, ancount=%u\n", hp->rcode, 2648 ntohs(hp->ancount)); 2653 ancount [all...] |
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | domain.c | 201 int ancount, qdcount, buflen; local 324 ancount = ntohs((unsigned short) hp->ancount); 328 while (--ancount >= 0 && cp < eom && nmx < MAXMXHOSTS - 1) 778 int ancount, qdcount; local 985 for (ancount = ntohs((unsigned short) hp->ancount); 986 --ancount >= 0 && ap < eom;
|
H A D | sm_resolve.c | 205 ans_cnt = ntohs((unsigned short) r->dns_r_h.ancount);
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | getrrsetbyname.c | 272 rrset->rri_nrdatas = response->header.ancount; 402 resp->header.ancount = ntohs(resp->header.ancount); 422 resp->header.ancount); 423 if (resp->header.ancount && resp->answer == NULL) {
|
/freebsd-9.3-release/include/arpa/ |
H A D | nameser_compat.h | 92 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon4941
|
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | resolve.h | 275 unsigned ancount; member in struct:dns_header
|
H A D | resolve.c | 439 r->h.ancount = (p[6] << 8) | p[7]; 470 for(i = 0; i < r->h.ancount; i++) {
|
/freebsd-9.3-release/lib/libc/resolv/ |
H A D | res_findzonecut.c | 280 int n, i, ancount, nscount; local 316 ancount = ns_msg_count(msg, ns_s_an); 318 if (ancount > 0 && rcode == ns_r_noerror) 319 sect = ns_s_an, n = ancount;
|
H A D | res_query.c | 173 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 178 ntohs(hp->ancount),
|
H A D | res_debug.c | 277 int qdcount, ancount, nscount, arcount; local 288 ancount = ns_msg_count(handle, ns_s_an); 324 p_section(ns_s_an, opcode), ancount); 341 if (qdcount == 0 && ancount == 0 &&
|
H A D | res_mkquery.c | 193 hp->ancount = htons(1);
|
H A D | res_mkupdate.c | 727 hp->ancount = htons(counts[1]);
|
/freebsd-9.3-release/sys/netinet/libalias/ |
H A D | alias_nbt.c | 216 u_short ancount; member in struct:__anon9965 806 ntohs(nsh->ancount), 823 if (ntohs(nsh->ancount) != 0) { 825 ntohs(nsh->ancount),
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | ip.c | 97 u_short ancount; member in struct:dns_header
|