Searched defs:ancount (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/lib/libldap4/common/
H A Dgetdxbyname.c98 int ancount, err, rc, type, class, dx_count, rr_len; local
117 ancount = ntohs( hp->ancount );
118 if ( ancount < 1 ) {
137 while ( ancount > 0 && err == 0 && p < eom ) {
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c123 int ancount, err, rc, type, class, dx_count, rr_len; local
141 ancount = ntohs( hp->ancount );
142 if ( ancount < 1 ) {
161 while ( ancount > 0 && err == 0 && p < eom ) {
/osnet-11/usr/src/lib/libresolv/
H A Dres_gethost.c90 int type, class, buflen, ancount, qdcount; local
99 ancount = ntohs(hp->ancount);
134 while (--ancount >= 0 && cp < eom && haveanswer < MAXADDRS) {
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dhesiod.c354 int ancount, qdcount; local
380 ancount = ntohs(hp->ancount);
395 list = malloc((ancount + 1) * sizeof(char *));
401 for (i = 0; i < ancount; i++) {
H A Ddns_nw.c302 int type, class, ancount, qdcount, haveanswer; local
324 ancount = ntohs(hp->ancount);
325 if (!ancount) {
377 while (--ancount >= 0 && cp < eom) {
448 int anslen, type, class, ancount, qdcount; local
486 ancount = ntohs(hp->ancount);
489 while (--ancount >= 0 && cp < eom) {
H A Ddns_ho.c684 int type, class, ancount, qdcount, n, haveanswer, had_error; local
730 ancount = ntohs(hp->ancount);
773 while (ancount-- > 0 && cp < eom && !had_error) {
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c275 int n, i, ancount, nscount; local
311 ancount = ns_msg_count(msg, ns_s_an);
313 if (ancount > 0 && rcode == ns_r_noerror)
314 sect = ns_s_an, n = ancount;
H A Dres_debug.c300 int qdcount, ancount, nscount, arcount; local
311 ancount = ns_msg_count(handle, ns_s_an);
347 p_section(ns_s_an, opcode), ancount);
364 if (qdcount == 0 && ancount == 0 &&
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddomain.c201 int ancount, qdcount, buflen; local
324 ancount = ntohs((unsigned short) hp->ancount);
328 while (--ancount >= 0 && cp < eom && nmx < MAXMXHOSTS - 1)
778 int ancount, qdcount; local
985 for (ancount = ntohs((unsigned short) hp->ancount);
986 --ancount >= 0 && ap < eom;
/osnet-11/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c372 int ancount, qdcount; local
466 ancount = ntohs(hp->ancount);
489 while (ancount-- > 0 && cp < eom && blen < bsize) {
/osnet-11/usr/src/lib/libresolv/arpa/
H A Dnameser.h184 u_short ancount; /* number of answer entries */ member in struct:__anon2411
/osnet-11/usr/src/lib/libdhcpdu/common/
H A Drfc2136.c389 int qdcount, ancount, nscount, arcount; local
444 ancount = ntohs(hp->ancount);
450 dprint("\tancount %d\n", ancount);
464 count = ancount;
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Ddns.c81 grub_uint16_t ancount; member in struct:dns_header
274 * grub_cpu_to_be16 (head->ancount));
283 for (i = 0, ptr = reparse_ptr; i < grub_cpu_to_be16 (head->ancount); i++)
538 head->ancount = grub_cpu_to_be16_compile_time (0);
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netbios.h208 unsigned ancount; /* answer recs */ member in struct:name_packet
H A Dsmbns_netbios_name.c208 packet.ancount = 0; /* answer recs */
503 BE_OUT16(heap, npb->ancount);
534 n = npb->ancount;
676 uint16_t qdcount, ancount, nscount, arcount; local
689 ancount = BE_IN16(scan); scan += 2;
696 ((unsigned)ancount * (sizeof (struct resource_record) + ns)) +
708 npb->ancount = ancount;
731 if (ancount > 0) {
734 heap += ancount * sizeo
[all...]
/osnet-11/usr/src/lib/libadutils/common/
H A Daddisc.c672 int len, cnt, qdcount, ancount; local
738 ancount = ntohs(msg.hdr.ancount);
750 srv_res = calloc(ancount + 1, sizeof (idmap_ad_disc_ds_t));
758 for (srv = srv_res, cnt = ancount;
815 if (ancount > 1)
816 qsort(srv_res, ancount, sizeof (*srv_res),

Completed in 119 milliseconds