| /openbsd/src/usr.sbin/tcpdump/ |
| D | print-domain.c | 576 int qdcount, ancount, nscount, arcount; in ns_print() local 584 ancount = EXTRACT_16BITS(&np->ancount); in ns_print() 616 printf(" %d/%d/%d", ancount, nscount, arcount); in ns_print() 617 if (ancount--) { in ns_print() 620 while (cp < snapend && ancount--) { in ns_print() 626 if (ancount > 0) in ns_print() 670 if (ancount != 1) in ns_print() 671 printf(" [%da]", ancount); in ns_print() 674 if (ancount) in ns_print() 675 printf(" [%da]", ancount); in ns_print() [all …]
|
| D | nameser.h | 205 u_int16_t ancount; /* number of answer entries */ member
|
| D | print-smb.c | 666 int ancount = RSVAL(data,6); in nbt_udp137_print() local 700 …uthoritycnt %d addrreccnt %d ", name_trn_id,opcode,nm_flags,rcode,qdcount,ancount,nscount,arcount); in nbt_udp137_print() 705 int total = ancount+nscount+arcount; in nbt_udp137_print()
|
| /openbsd/src/usr.sbin/smtpd/ |
| D | dns.c | 258 for (; h.ancount; h.ancount--) { in dns_dispatch_mx() 316 for (; h.ancount; h.ancount--) { in dns_dispatch_mx_preference()
|
| D | unpack_dns.h | 36 uint16_t ancount; member
|
| D | unpack_dns.c | 47 h->ancount = ntohs(h->ancount); in unpack_header()
|
| D | spfwalk.c | 153 for (; h.ancount; h.ancount--) { in dispatch_record()
|
| /openbsd/src/lib/libc/asr/ |
| D | getrrsetbyname_async.c | 287 rrset->rri_nrdatas = response->header.ancount; in get_response() 386 resp->header.ancount = ntohs(resp->header.ancount); in parse_dns_response() 406 resp->header.ancount); in parse_dns_response() 407 if (resp->header.ancount && resp->answer == NULL) { in parse_dns_response()
|
| D | asr_utils.c | 262 h->ancount = ntohs(h->ancount); in _asr_unpack_header() 400 c.ancount = htons(h->ancount); in _asr_pack_header()
|
| D | res_send_async.c | 274 } else if (as->as.dns.ancount) { in res_send_async_run() 276 ar->ar_count = as->as.dns.ancount; in res_send_async_run() 711 as->as.dns.ancount = h.ancount; in validate_packet() 733 for (r = h.ancount + h.nscount + h.arcount; r; r--) in validate_packet()
|
| D | asr_private.h | 53 uint16_t ancount; member 193 int ancount; /* answer count */ member
|
| D | asr_debug.c | 161 h->qdcount, h->ancount, h->nscount, h->arcount); in print_header() 197 ns = an + h.ancount; in _asr_dump_packet()
|
| D | gethostnamadr_async.c | 506 for (; hdr.ancount; hdr.ancount--) { in hostent_from_packet()
|
| /openbsd/src/regress/lib/libc/asr/bin/ |
| D | res_mkquery.c | 122 h->qdcount, h->ancount, h->nscount, h->arcount); in print_header() 155 ns = an + h.ancount; in dump_packet()
|
| D | common.h | 81 uint16_t ancount; member
|
| D | res_query.c | 158 h->qdcount, h->ancount, h->nscount, h->arcount); in print_header() 191 ns = an + h.ancount; in dump_packet()
|
| D | common.c | 556 h->ancount = ntohs(h->ancount); in unpack_header()
|
| /openbsd/src/sbin/unwind/libunbound/util/data/ |
| D | msgencode.c | 690 uint16_t ancount=0, nscount=0, arcount=0; in reply_info_encode() local 739 if((r=insert_section(&arep, 1, &ancount, buffer, 0, in reply_info_encode() 744 sldns_buffer_write_u16_at(buffer, 6, ancount); in reply_info_encode() 754 if((r=insert_section(rep, rep->an_numrrsets, &ancount, buffer, in reply_info_encode() 759 sldns_buffer_write_u16_at(buffer, 6, ancount); in reply_info_encode() 766 sldns_buffer_write_u16_at(buffer, 6, ancount); in reply_info_encode()
|
| D | msgparse.h | 111 uint16_t ancount; member
|
| /openbsd/src/usr.sbin/unbound/util/data/ |
| D | msgencode.c | 690 uint16_t ancount=0, nscount=0, arcount=0; in reply_info_encode() local 739 if((r=insert_section(&arep, 1, &ancount, buffer, 0, in reply_info_encode() 744 sldns_buffer_write_u16_at(buffer, 6, ancount); in reply_info_encode() 754 if((r=insert_section(rep, rep->an_numrrsets, &ancount, buffer, in reply_info_encode() 759 sldns_buffer_write_u16_at(buffer, 6, ancount); in reply_info_encode() 766 sldns_buffer_write_u16_at(buffer, 6, ancount); in reply_info_encode()
|
| D | msgparse.h | 111 uint16_t ancount; member
|
| D | msgparse.c | 920 msg->ancount = sldns_buffer_read_u16(pkt); in parse_packet() 928 msg->ancount, &msg->an_rrsets)) != 0) in parse_packet()
|
| /openbsd/src/include/arpa/ |
| D | nameser.h | 314 unsigned ancount :16; /* number of answer entries */ member
|
| /openbsd/src/usr.sbin/nsd/ |
| D | xfrd.c | 2126 size_t ancount = ANCOUNT(packet), ancount_todo; in xfrd_parse_received_xfr_packet() local 2183 if(qdcount > 64 || ancount > 65530 || nscount > 65530) { in xfrd_parse_received_xfr_packet() 2199 if(zone->latest_xfr->msg_rr_count == 0 && ancount == 0) { in xfrd_parse_received_xfr_packet() 2218 ancount_todo = ancount; in xfrd_parse_received_xfr_packet() 2290 if(ancount == 1) { in xfrd_parse_received_xfr_packet() 2305 ancount_todo = ancount - 1; in xfrd_parse_received_xfr_packet() 2316 if(zone->tcp_conn == -1 && ancount < 2) { in xfrd_parse_received_xfr_packet()
|
| D | difffile.c | 1001 int qcount, ancount; in apply_ixfr() local 1056 ancount = ANCOUNT(packet); in apply_ixfr() 1059 if(qcount > 64 || ancount > 65530) { in apply_ixfr() 1077 for(int i=0; i < ancount; ++i, ++(*rr_count)) { in apply_ixfr() 1172 if (i == ancount - 1 && seq_nr == seq_total - 1) { in apply_ixfr()
|