HomeSort by: relevance | last modified time | path
    Searched defs:ancount (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/crypto/dist/ipsec-tools/src/racoon/
getcertsbyname.c 204 int qdcount, ancount, rdlength; local
247 ancount = ntohs(hp->ancount);
271 while (ancount-- && cp < eom) {
  /src/lib/libc/net/
getnetnamadr.c 177 int type, class, ancount, qdcount, haveanswer; local
199 ancount = ntohs(hp->ancount); /* #/records in the answer section */
224 while (--ancount >= 0 && cp < eom) {
hesiod.c 415 int ancount, qdcount, i, j, n, skip, type, class, len; local
441 ancount = ntohs(hp->ancount);
460 list = malloc((ancount + 1) * sizeof(char *));
467 for (i = 0; i < ancount; i++) {
516 if (i < ancount) {
gethnamaddr.c 223 int type, class, ancount, qdcount; local
257 ancount = ntohs(hp->ancount);
290 while (ancount-- > 0 && cp < eom && !had_error) {
getaddrinfo.c 1717 int type, class, ancount, qdcount; local
1751 ancount = ntohs(hp->ancount);
1784 while (ancount-- > 0 && cp < eom && !had_error) {
1995 h_errno = ntohs(hp->ancount) > 0? NO_DATA : NO_RECOVERY;
2560 int ancount; local
2566 ancount = 0;
2634 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2640 ntohs(hp->ancount),
2647 ancount += ntohs(hp->ancount)
    [all...]
  /src/lib/libresolv/
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;
  /src/external/bsd/libbind/dist/irs/
dns_nw.c 304 int type, class, ancount, qdcount, haveanswer; local
326 ancount = ntohs(hp->ancount);
327 if (!ancount) {
379 while (--ancount >= 0 && cp < eom) {
450 int anslen, type, class, ancount, qdcount; local
488 ancount = ntohs(hp->ancount);
491 while (--ancount >= 0 && cp < eom) {
hesiod.c 356 int ancount, qdcount; local
382 ancount = ntohs(hp->ancount);
397 list = malloc((ancount + 1) * sizeof(char *));
403 for (i = 0; i < ancount; i++) {
dns_ho.c 686 int type, class, ancount, qdcount, n, haveanswer, had_error; local
732 ancount = ntohs(hp->ancount);
775 while (ancount-- > 0 && cp < eom && !had_error) {
  /src/external/bsd/libbind/dist/resolv/
res_findzonecut.c 277 int n, i, ancount, nscount; local
313 ancount = ns_msg_count(msg, ns_s_an);
315 if (ancount > 0 && rcode == ns_r_noerror)
316 sect = ns_s_an, n = ancount;
res_debug.c 281 int qdcount, ancount, nscount, arcount; local
292 ancount = ns_msg_count(handle, ns_s_an);
328 p_section(ns_s_an, opcode), ancount);
345 if (qdcount == 0 && ancount == 0 &&
  /src/external/bsd/tcpdump/dist/
print-domain.c 912 u_int qdcount, ancount, nscount, arcount; local
959 ancount = GET_BE_U_2(np->ancount);
973 for (i = 0; i < ancount + nscount; i++) {
1035 ND_PRINT(" %u/%u/%u", ancount, nscount, arcount);
1036 if (ancount) {
1039 ancount--;
1040 while (cp < ndo->ndo_snapend && ancount) {
1044 ancount--;
1047 if (ancount)
    [all...]
print-smb.c 1089 u_int qdcount, ancount, nscount, arcount; local
1100 ancount = GET_BE_U_2(data + 6);
1122 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount,
1127 total = ancount + nscount + arcount;
nameser.h 299 nd_uint16_t ancount; /* number of answer entries */ member in struct:__anon8009
  /src/external/bsd/unbound/dist/util/data/
msgparse.h 113 uint16_t ancount; member in struct:msg_parse
msgencode.c 690 uint16_t ancount=0, nscount=0, arcount=0; local
739 if((r=insert_section(&arep, 1, &ancount, buffer, 0,
744 sldns_buffer_write_u16_at(buffer, 6, ancount);
754 if((r=insert_section(rep, rep->an_numrrsets, &ancount, buffer,
759 sldns_buffer_write_u16_at(buffer, 6, ancount);
766 sldns_buffer_write_u16_at(buffer, 6, ancount);
  /src/include/arpa/
nameser_compat.h 93 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon112
  /src/external/bsd/libbind/dist/include/arpa/
nameser_compat.h 128 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon7147
  /src/external/mpl/dhcp/dist/includes/arpa/
nameser_compat.h 78 unsigned ancount :16; /* number of answer entries */ member in struct:__anon24421
  /src/lib/libc/resolv/
res_debug.c 291 int qdcount, ancount, nscount, arcount; local
302 ancount = ns_msg_count(handle, ns_s_an);
338 p_section(ns_s_an, (int)opcode), ancount);
355 if (qdcount == 0 && ancount == 0 &&
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
resolve.h 222 unsigned ancount; member in struct:rk_dns_header
  /src/external/bsd/unbound/dist/testcode/
doqclient.c 523 int i, qdcount, ancount; local
530 ancount = LDNS_ANCOUNT(data);
540 for(i=0; i<ancount; i++) {
557 int rcode, ancount; local
580 ancount = LDNS_ANCOUNT(sldns_buffer_begin(str->answer));
581 if(ancount == 0) {
  /src/external/bsd/nsd/dist/
difffile.c 1104 int qcount, ancount; local
1159 ancount = ANCOUNT(packet);
1161 /* qcount should be 0 or 1 really, ancount limited by 64k packet */
1162 if(qcount > 64 || ancount > 65530) {
1180 for(int i=0; i < ancount; ++i, ++(*rr_count)) {
1275 if (i == ancount - 1 && seq_nr == seq_total - 1) {
xfrd.c 2177 size_t ancount = ANCOUNT(packet), ancount_todo; local
2234 if(qdcount > 64 || ancount > 65530 || nscount > 65530) {
2250 if(zone->latest_xfr->msg_rr_count == 0 && ancount == 0) {
2269 ancount_todo = ancount;
2341 if(ancount == 1) {
2356 ancount_todo = ancount - 1;
2367 if(zone->tcp_conn == -1 && ancount < 2) {
2769 if(ANCOUNT(packet) == 1 && packet_skip_dname(packet) &&
  /src/external/bsd/unbound/dist/sldns/
wire2str.c 439 unsigned qdcount, ancount, nscount, arcount, i; local
444 ancount = (unsigned)LDNS_ANCOUNT(*d);
448 qdcount = ancount = nscount = arcount = 0;
460 for(i=0; i<ancount; i++) {

Completed in 50 milliseconds

1 2