/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdxbyname.c | 121 int ancount, err, rc, type, class, dx_count, rr_len; in decode_answer() local 139 ancount = ntohs( hp->ancount ); in decode_answer() 140 if ( ancount < 1 ) { in decode_answer() 159 while ( ancount > 0 && err == 0 && p < eom ) { in decode_answer()
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | srv_query.c | 75 int len, qdcount, ancount; in srv_getdom() local 108 ancount = ntohs(msg.hdr.ancount); in srv_getdom() 120 if (ancount < 1) { in srv_getdom() 259 int i, qdcount, ancount, nscount, arcount; in srv_parse() local 274 ancount = ntohs(hdr->ancount); in srv_parse() 293 *maxcnt = ancount + 2; in srv_parse() 301 for (i = 0; i < ancount; i++) { in srv_parse()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_nw.c | 298 int type, class, ancount, qdcount, haveanswer; in get1101answer() local 320 ancount = ntohs(hp->ancount); in get1101answer() 321 if (!ancount) { in get1101answer() 373 while (--ancount >= 0 && cp < eom) { in get1101answer() 444 int anslen, type, class, ancount, qdcount; in get1101mask() local 482 ancount = ntohs(hp->ancount); in get1101mask() 485 while (--ancount >= 0 && cp < eom) { in get1101mask()
|
H A D | hesiod.c | 350 int ancount, qdcount; in get_txt_records() local 376 ancount = ntohs(hp->ancount); in get_txt_records() 391 list = malloc((ancount + 1) * sizeof(char *)); in get_txt_records() 397 for (i = 0; i < ancount; i++) { in get_txt_records()
|
H A D | dns_ho.c | 680 int type, class, ancount, qdcount, n, haveanswer, had_error; in gethostans() local 726 ancount = ntohs(hp->ancount); in gethostans() 769 while (ancount-- > 0 && cp < eom && !had_error) { in gethostans()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 220 int ancount, qdcount, buflen; local 343 ancount = ntohs((unsigned short) hp->ancount); 347 while (--ancount >= 0 && cp < eom && nmx < MAXMXHOSTS - 1) 797 int ancount, qdcount; local 1004 for (ancount = ntohs((unsigned short) hp->ancount); 1005 --ancount >= 0 && ap < eom;
|
H A D | sm_resolve.c | 201 ans_cnt = ntohs((unsigned short) r->dns_r_h.ancount);
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 208 packet.ancount = 0; /* answer recs */ in smb_end_node_challenge() 504 BE_OUT16(heap, npb->ancount); in smb_name_buf_from_packet() 535 n = npb->ancount; in smb_name_buf_from_packet() 677 uint16_t qdcount, ancount, nscount, arcount; in smb_name_buf_to_packet() local 690 ancount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 697 ((unsigned)ancount * (sizeof (struct resource_record) + ns)) + in smb_name_buf_to_packet() 709 npb->ancount = ancount; in smb_name_buf_to_packet() 732 if (ancount > 0) { in smb_name_buf_to_packet() 735 heap += ancount * sizeof (struct resource_record); in smb_name_buf_to_packet() 755 for (i = 0; i < (ancount + nscount + arcount); i++) { in smb_name_buf_to_packet() [all …]
|
H A D | smbns_netbios.h | 208 unsigned ancount; /* answer recs */ member
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_query.c | 109 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 113 ntohs(hp->ancount)); 134 if (hp->rcode == NOERROR && ntohs(hp->ancount) > 0)
|
H A D | res_mkquery.c | 243 hp->ancount = htons(1); 283 hp->ancount = htons(0); 310 hp->ancount = htons(0);
|
H A D | res_gethost.c | 93 int type, class, buflen, ancount, qdcount; local 102 ancount = ntohs(hp->ancount); 137 while (--ancount >= 0 && cp < eom && haveanswer < MAXADDRS) {
|
H A D | res_debug.c | 134 fprintf(file, ", ancount = %d", ntohs(hp->ancount)); 157 if (n = ntohs(hp->ancount)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dns.c | 73 ushort_t id, qdcount, ancount, nscount, arcount; in interpret_dns() local 108 ancount = ntohs(header.ancount); in interpret_dns() 130 if (ancount > 0) { in interpret_dns() 191 if (header.qr || ancount > 0) { in interpret_dns() 193 "%d answer(s)", ancount); in interpret_dns() 195 while (ancount--) { in interpret_dns()
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 411 int ancount, qdcount; in _nss_dns_gethost_withttl() local 601 ancount = ntohs(hp->ancount); in _nss_dns_gethost_withttl() 624 while (ancount-- > 0 && cp < eom && blen < bsize) { in _nss_dns_gethost_withttl()
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_findzonecut.c | 271 int n, i, ancount, nscount; in get_soa() local 307 ancount = ns_msg_count(msg, ns_s_an); in get_soa() 309 if (ancount > 0 && rcode == ns_r_noerror) in get_soa() 310 sect = ns_s_an, n = ancount; in get_soa()
|
H A D | res_query.c | 169 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 174 ntohs(hp->ancount), in res_nquery()
|
H A D | res_debug.c | 295 int qdcount, ancount, nscount, arcount; in res_pquery() local 306 ancount = ns_msg_count(handle, ns_s_an); in res_pquery() 342 p_section(ns_s_an, opcode), ancount); in res_pquery() 359 if (qdcount == 0 && ancount == 0 && in res_pquery()
|
H A D | res_mkquery.c | 222 hp->ancount = htons(1); in res_nmkquery()
|
/illumos-gate/usr/src/lib/libresolv/arpa/ |
H A D | nameser.h | 182 u_short ancount; /* number of answer entries */ member
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | klookup.c | 121 na = ntohs(h->ancount); in main()
|
/illumos-gate/usr/src/head/arpa/ |
H A D | nameser_compat.h | 161 unsigned ancount :16; /* number of answer entries */ member
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnsglue.c | 264 nanswers = ntohs((unsigned short)hdr->ancount); in initparse()
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_verify.c | 74 n = ns_skiprr(cp, eom, ns_s_an, ntohs(hp->ancount)); in ns_find_tsig()
|
/illumos-gate/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 417 an_cnt = ntohs(hp->ancount); in resolv_decode()
|