/freebsd-11-stable/usr.sbin/pkg/ |
H A D | dns_utils.c | 123 int len, qdcount, ancount, n, i, f, l; local 131 ancount = ntohs(q.hdr.ancount); 143 res = calloc(ancount, sizeof(struct dns_srvinfo *)); 148 while (ancount > 0 && p < end) { 149 ancount--;
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-domain.c | 581 register int qdcount, ancount, nscount, arcount; local 596 ancount = EXTRACT_16BITS(&np->ancount); 628 ND_PRINT((ndo, " %d/%d/%d", ancount, nscount, arcount)); 629 if (ancount--) { 632 while (cp < ndo->ndo_snapend && ancount--) { 638 if (ancount > 0) 682 if (ancount != 1) 683 ND_PRINT((ndo, " [%da]", ancount)); 686 if (ancount) [all...] |
H A D | nameser.h | 217 uint16_t ancount; /* number of answer entries */ member in struct:__anon4036
|
H A D | print-smb.c | 1112 int qdcount, ancount, nscount, arcount; local 1123 ancount = EXTRACT_16BITS(data + 6); 1145 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, 1150 total = ancount + nscount + arcount;
|
/freebsd-11-stable/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-11-stable/lib/libc/net/ |
H A D | hesiod.c | 375 int ancount, qdcount, i, j, n, skip, type, class, len; local 395 ancount = ntohs(hp->ancount); 414 list = malloc((ancount + 1) * sizeof(char *)); 421 for (i = 0; i < ancount; i++) { 470 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 | 148 int type, class, ancount, qdcount; local 174 ancount = ntohs(hp->ancount); 214 while (ancount-- > 0 && cp < eom && !had_error) {
|
H A D | getaddrinfo.c | 1991 int type, class, ancount, qdcount; local 2015 ancount = ntohs(hp->ancount); 2047 while (ancount-- > 0 && cp < eom && !had_error) { 2185 RES_SET_H_ERRNO(res, ntohs(hp->ancount) > 0 ? NO_DATA : NO_RECOVERY); 2704 int ancount; local 2707 ancount = 0; 2776 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 2780 printf(";; rcode = %u, ancount=%u\n", hp->rcode, 2781 ntohs(hp->ancount)); [all...] |
/freebsd-11-stable/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-11-stable/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-11-stable/include/arpa/ |
H A D | nameser_compat.h | 92 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon6504
|
/freebsd-11-stable/contrib/unbound/util/data/ |
H A D | msgparse.h | 105 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 | 915 msg->ancount = sldns_buffer_read_u16(pkt); 923 msg->ancount, &msg->an_rrsets)) != 0)
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | domain.c | 544 int ancount, qdcount, buflen; local 726 ancount = ntohs((unsigned short) hp->ancount); 730 while (--ancount >= 0 && cp < eom && nmx < MAXMXHOSTS - 1) 1261 int ancount, qdcount, ret, type, qtype, initial, loopcnt, ttl, sli; local 1500 for (ancount = ntohs((unsigned short) hp->ancount); 1501 --ancount >= 0 && ap < eom;
|
H A D | sm_resolve.c | 291 ans_cnt = ntohs((unsigned short) dr->dns_r_h.ancount); 579 hp->ancount = 0; 600 ans_cnt = ntohs((unsigned short) hp->ancount); 602 hp->ancount = htons((unsigned short) ans_cnt);
|
/freebsd-11-stable/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 | 174 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 179 ntohs(hp->ancount),
|
H A D | res_debug.c | 276 int qdcount, ancount, nscount, arcount; local 287 ancount = ns_msg_count(handle, ns_s_an); 323 p_section(ns_s_an, opcode), ancount); 340 if (qdcount == 0 && ancount == 0 &&
|
H A D | res_mkquery.c | 195 hp->ancount = htons(1);
|
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_nbt.c | 216 u_short ancount; member in struct:__anon8185 822 ntohs(nsh->ancount), 839 if (ntohs(nsh->ancount) != 0) { 841 ntohs(nsh->ancount),
|
/freebsd-11-stable/contrib/ldns/ |
H A D | packet.c | 548 ldns_pkt_set_ancount(ldns_pkt *packet, uint16_t ancount) argument 550 packet->_header->_ancount = ancount;
|
/freebsd-11-stable/contrib/unbound/sldns/ |
H A D | wire2str.c | 370 unsigned qdcount, ancount, nscount, arcount, i; local 375 ancount = (unsigned)LDNS_ANCOUNT(*d); 379 qdcount = ancount = nscount = arcount = 0; 391 for(i=0; i<ancount; i++) {
|