/freebsd-current/usr.sbin/pkg/ |
H A D | dns_utils.c | 122 int len, qdcount, ancount, n, i, f, l; local 130 ancount = ntohs(q.hdr.ancount); 142 res = calloc(ancount, sizeof(struct dns_srvinfo *)); 147 while (ancount > 0 && p < end) { 148 ancount--;
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-domain.c | 905 u_int qdcount, ancount, nscount, arcount; local 952 ancount = GET_BE_U_2(np->ancount); 966 for (i = 0; i < ancount + nscount; i++) { 1028 ND_PRINT(" %u/%u/%u", ancount, nscount, arcount); 1029 if (ancount) { 1032 ancount--; 1033 while (cp < ndo->ndo_snapend && ancount) { 1037 ancount--; 1040 if (ancount) [all...] |
H A D | nameser.h | 303 nd_uint16_t ancount; /* number of answer entries */ member in struct:__anon3581
|
H A D | print-smb.c | 1083 u_int qdcount, ancount, nscount, arcount; local 1094 ancount = GET_BE_U_2(data + 6); 1116 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, 1121 total = ancount + nscount + arcount;
|
/freebsd-current/lib/libc/net/ |
H A D | hesiod.c | 351 int ancount, qdcount, i, j, n, skip, type, class, len; local 371 ancount = ntohs(hp->ancount); 390 list = malloc((ancount + 1) * sizeof(char *)); 397 for (i = 0; i < ancount; i++) { 446 if (i < ancount) {
|
H A D | getnetbydns.c | 160 int type, class, ancount, qdcount, haveanswer; local 181 ancount = ntohs(hp->ancount); /* #/records in the answer section */ 199 while (--ancount >= 0 && cp < eom) {
|
H A D | gethostbydns.c | 143 int type, class, ancount, qdcount; local 169 ancount = ntohs(hp->ancount); 209 while (ancount-- > 0 && cp < eom && !had_error) {
|
H A D | getaddrinfo.c | 1993 int type, class, ancount, qdcount; local 2017 ancount = ntohs(hp->ancount); 2049 while (ancount-- > 0 && cp < eom && !had_error) { 2187 RES_SET_H_ERRNO(res, ntohs(hp->ancount) > 0 ? NO_DATA : NO_RECOVERY); 2709 int ancount; local 2712 ancount = 0; 2781 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 2785 printf(";; rcode = %u, ancount=%u\n", hp->rcode, 2786 ntohs(hp->ancount)); [all...] |
/freebsd-current/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-current/crypto/heimdal/lib/roken/ |
H A D | resolve.h | 220 unsigned ancount; member in struct:rk_dns_header
|
H A D | resolve.c | 443 r->h.ancount = (p[6] << 8) | p[7]; 474 for(i = 0; i < r->h.ancount; i++) {
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | getrrsetbyname.c | 277 rrset->rri_nrdatas = response->header.ancount; 410 resp->header.ancount = ntohs(resp->header.ancount); 430 resp->header.ancount); 431 if (resp->header.ancount && resp->answer == NULL) {
|
/freebsd-current/include/arpa/ |
H A D | nameser_compat.h | 94 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon18
|
/freebsd-current/sys/netinet/libalias/ |
H A D | alias_nbt.c | 211 u_short ancount; member in struct:__anon5563 796 ntohs(nsh->ancount), 813 if (ntohs(nsh->ancount) != 0) { 815 ntohs(nsh->ancount),
|
/freebsd-current/lib/libc/resolv/ |
H A D | res_findzonecut.c | 276 int n, i, ancount, nscount; local 312 ancount = ns_msg_count(msg, ns_s_an); 314 if (ancount > 0 && rcode == ns_r_noerror) 315 sect = ns_s_an, n = ancount;
|
H A D | res_query.c | 169 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 174 ntohs(hp->ancount),
|
H A D | res_mkquery.c | 190 hp->ancount = htons(1);
|
H A D | res_debug.c | 271 int qdcount, ancount, nscount, arcount; local 282 ancount = ns_msg_count(handle, ns_s_an); 318 p_section(ns_s_an, opcode), ancount); 335 if (qdcount == 0 && ancount == 0 &&
|
/freebsd-current/contrib/unbound/util/data/ |
H A D | msgparse.h | 110 uint16_t ancount; member in struct:msg_parse
|
H A D | msgencode.c | 676 uint16_t ancount=0, nscount=0, arcount=0; local 724 if((r=insert_section(&arep, 1, &ancount, buffer, 0, 729 sldns_buffer_write_u16_at(buffer, 6, ancount); 739 if((r=insert_section(rep, rep->an_numrrsets, &ancount, buffer, 744 sldns_buffer_write_u16_at(buffer, 6, ancount); 751 sldns_buffer_write_u16_at(buffer, 6, ancount);
|
H A D | msgparse.c | 920 msg->ancount = sldns_buffer_read_u16(pkt); 928 msg->ancount, &msg->an_rrsets)) != 0)
|
/freebsd-current/contrib/sendmail/src/ |
H A D | domain.c | 879 int ancount, qdcount, buflen; local 1055 ancount = ntohs((unsigned short) hp->ancount); 1059 while (--ancount >= 0 && cp < eom && nmx < MAXMXHOSTS - 1) 1629 int ancount, qdcount, ret, type, qtype, initial, loopcnt, ttl, sli; local 1868 for (ancount = ntohs((unsigned short) hp->ancount); 1869 --ancount >= 0 && ap < eom;
|
H A D | sm_resolve.c | 295 ans_cnt = ntohs((unsigned short) dr->dns_r_h.ancount); 596 hp->ancount = 0; 620 ans_cnt = ntohs((unsigned short) hp->ancount); 622 hp->ancount = htons((unsigned short) ans_cnt);
|
/freebsd-current/contrib/ldns/ |
H A D | packet.c | 570 ldns_pkt_set_ancount(ldns_pkt *packet, uint16_t ancount) argument 572 packet->_header->_ancount = ancount;
|
/freebsd-current/contrib/unbound/sldns/ |
H A D | wire2str.c | 434 unsigned qdcount, ancount, nscount, arcount, i; local 439 ancount = (unsigned)LDNS_ANCOUNT(*d); 443 qdcount = ancount = nscount = arcount = 0; 455 for(i=0; i<ancount; i++) {
|