Home
last modified time | relevance | path

Searched refs:arcount (Results 1 – 25 of 30) sorted by relevance

12

/netbsd-src/external/bsd/libbind/dist/nameser/
H A Dns_verify.c72 if (hp->arcount == 0) in ns_find_tsig()
92 n = ns_skiprr(cp, eom, ns_s_ar, ntohs(hp->arcount) - 1); in ns_find_tsig()
229 hp->arcount = htons(ntohs(hp->arcount) - 1); in ns_verify()
307 hp->arcount = htons(ntohs(hp->arcount) + 1); in ns_verify()
315 hp->arcount = htons(ntohs(hp->arcount) - 1); in ns_verify()
388 hp->arcount = htons(ntohs(hp->arcount) - 1); in ns_verify_tcp()
H A Dns_sign.c248 hp->arcount = htons(ntohs(hp->arcount) + 1); in ns_sign2()
384 hp->arcount = htons(ntohs(hp->arcount) + 1); in ns_sign_tcp2()
/netbsd-src/lib/libresolv/
H A Dns_verify.c71 if (hp->arcount == 0) in ns_find_tsig()
91 n = ns_skiprr(cp, eom, ns_s_ar, ntohs(hp->arcount) - 1); in ns_find_tsig()
228 hp->arcount = htons(ntohs(hp->arcount) - 1); in ns_verify()
306 hp->arcount = htons(ntohs(hp->arcount) + 1); in ns_verify()
314 hp->arcount = htons(ntohs(hp->arcount) - 1); in ns_verify()
387 hp->arcount = htons(ntohs(hp->arcount) - 1); in ns_verify_tcp()
H A Dns_sign.c251 hp->arcount = htons(ntohs(hp->arcount) + 1); in ns_sign2()
388 hp->arcount = htons(ntohs(hp->arcount) + 1); in ns_sign_tcp2()
/netbsd-src/external/bsd/libbind/dist/resolv/
H A Dres_mkquery.c176 hp->arcount = htons(1); in res_nmkquery()
254 hp->arcount = htons(ntohs(hp->arcount) + 1); in res_nopt()
H A Dres_debug.c281 int qdcount, ancount, nscount, arcount; in res_pquery() local
294 arcount = ns_msg_count(handle, ns_s_ar); in res_pquery()
332 p_section(ns_s_ar, opcode), arcount); in res_pquery()
346 nscount == 0 && arcount == 0) in res_pquery()
H A Dres_query.c183 ntohs(hp->arcount)); in res_nquery()
/netbsd-src/lib/libc/resolv/
H A Dres_mkquery.c190 hp->arcount = htons(1); in res_nmkquery()
271 hp->arcount = htons(ntohs(hp->arcount) + 1); in res_nopt()
H A Dres_debug.c291 int qdcount, ancount, nscount, arcount; in res_pquery() local
304 arcount = ns_msg_count(handle, ns_s_ar); in res_pquery()
342 p_section(ns_s_ar, (int)opcode), arcount); in res_pquery()
356 nscount == 0 && arcount == 0) in res_pquery()
H A Dres_query.c213 ntohs(hp->arcount)); in res_nquery()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dgetrrsetbyname.c419 resp->header.arcount = ntohs(resp->header.arcount); in parse_dns_response()
453 resp->header.arcount); in parse_dns_response()
454 if (resp->header.arcount && resp->additional == NULL) { in parse_dns_response()
/netbsd-src/external/bsd/unbound/dist/testdata/
H A Dtest_packets.83 ; bad packet, had arcount=1 but EDNS record is missing.
/netbsd-src/external/bsd/nsd/dist/
H A Dquery.c1559 uint16_t arcount; in query_process() local
1648 arcount = ARCOUNT(q->packet); in query_process()
1661 if (arcount > 0) { in query_process()
1663 --arcount; in query_process()
1666 if (arcount > 0 && q->tsig.status == TSIG_NOT_PRESENT) { in query_process()
1671 --arcount; in query_process()
1674 if (arcount > 0) { in query_process()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dresolve.h224 unsigned arcount; member
H A Dresolve.c447 r->h.arcount = (p[10] << 8) | p[11]; in parse_reply()
490 for(i = 0; i < r->h.arcount; i++) { in parse_reply()
/netbsd-src/external/mpl/dhcp/dist/includes/arpa/
H A Dnameser_compat.h80 unsigned arcount :16; /* number of resource entries */ member
/netbsd-src/include/arpa/
H A Dnameser_compat.h95 unsigned arcount :16; /*%< number of resource entries */ member
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Dmsgparse.h112 uint16_t arcount; member
H A Dmsgencode.c676 uint16_t ancount=0, nscount=0, arcount=0; in reply_info_encode() local
773 if((r=insert_section(rep, rep->ar_numrrsets, &arcount, buffer, in reply_info_encode()
779 sldns_buffer_write_u16_at(buffer, 10, arcount); in reply_info_encode()
785 sldns_buffer_write_u16_at(buffer, 10, arcount); in reply_info_encode()
H A Dmsgparse.c922 msg->arcount = sldns_buffer_read_u16(pkt); in parse_packet()
933 if(sldns_buffer_remaining(pkt) == 0 && msg->arcount == 1) { in parse_packet()
937 LDNS_SECTION_ADDITIONAL, msg->arcount, &msg->ar_rrsets)) != 0) in parse_packet()
1170 msg->arcount --; in parse_extract_edns_from_response_msg()
/netbsd-src/external/bsd/libbind/dist/include/arpa/
H A Dnameser_compat.h130 unsigned arcount :16; /*%< number of resource entries */ member
/netbsd-src/external/mpl/bind/dist/bin/tests/system/upforwd/ans4/
H A Dans.pl146 # add one to arcount because the signing
151 $packet->{"header"}{"arcount"} += 1;
203 for (1 .. $header->arcount) {
304 # add one to arcount because the signing
309 $packet->{"header"}{"arcount"} += 1;
/netbsd-src/external/bsd/unbound/dist/pythonmod/doc/modules/
H A Dstruct.rst237 Number of elements is ancount + nscount + arcount RRsets.
242 The number equals ancount + nscount + arcount RRsets.
/netbsd-src/external/mpl/bind/dist/bin/tests/system/forward/ans6/
H A Dans.pl290 for (1 .. $header->arcount) {
/netbsd-src/external/bsd/unbound/dist/sldns/
H A Dwire2str.c434 unsigned qdcount, ancount, nscount, arcount, i; in sldns_wire2str_pkt_scan() local
441 arcount = (unsigned)LDNS_ARCOUNT(*d); in sldns_wire2str_pkt_scan()
443 qdcount = ancount = nscount = arcount = 0; in sldns_wire2str_pkt_scan()
467 for(i=0; i<arcount; i++) { in sldns_wire2str_pkt_scan()

12