Searched refs:qdcount (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-domain.c584 register int qdcount, ancount, nscount, arcount; local
591 qdcount = EXTRACT_16BITS(&np->qdcount);
607 if (qdcount != 1)
608 printf(" [%dq]", qdcount);
611 while (qdcount--) {
612 if (qdcount < EXTRACT_16BITS(&np->qdcount) - 1)
676 if (qdcount)
677 printf(" [%dq]", qdcount);
[all...]
H A Dnameser.h231 u_int16_t qdcount; /* number of question entries */ member in struct:__anon4076
H A Dprint-smb.c1094 int qdcount, ancount, nscount, arcount; local
1105 qdcount = EXTRACT_16BITS(data + 4);
1151 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount,
1158 if (qdcount > 100 || total > 100) {
1163 if (qdcount) {
1165 for (i = 0; i < qdcount; i++) {
/freebsd-9.3-release/usr.sbin/pkg/
H A Ddns_utils.c120 int len, qdcount, ancount, n, i, f, l; local
127 qdcount = ntohs(q.hdr.qdcount);
133 while(qdcount > 0 && p < end) {
134 qdcount--;
/freebsd-9.3-release/contrib/sendmail/contrib/
H A Dbitdomain.c216 int ancount, qdcount; local
273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ)
/freebsd-9.3-release/contrib/sendmail/src/
H A Ddomain.c201 int ancount, qdcount, buflen; local
312 for (qdcount = ntohs((unsigned short) hp->qdcount);
313 qdcount--;
778 int ancount, qdcount; local
970 for (qdcount = ntohs((unsigned short) hp->qdcount);
971 qdcount--;
977 sm_dprintf("qdcount failure (%d)\n",
978 ntohs((unsigned short) hp->qdcount));
[all...]
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dgetrrsetbyname.c258 if (response->header.qdcount != 1) {
401 resp->header.qdcount = ntohs(resp->header.qdcount);
407 if (resp->header.qdcount < 1) {
414 resp->header.qdcount);
415 if (resp->header.qdcount && resp->query == NULL) {
/freebsd-9.3-release/lib/libc/net/
H A Dgetnetbydns.c164 int type, class, ancount, qdcount, haveanswer; local
186 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */
190 if (!qdcount) {
197 while (qdcount-- > 0)
H A Dhesiod.c376 int ancount, qdcount, i, j, n, skip, type, class, len; local
397 qdcount = ntohs(hp->qdcount);
405 for (i = 0; i < qdcount; i++) {
H A Dgethostbydns.c152 int type, class, ancount, qdcount; local
179 qdcount = ntohs(hp->qdcount);
184 if (qdcount != 1) {
H A Dgetaddrinfo.c1925 int type, class, ancount, qdcount; local
1950 qdcount = ntohs(hp->qdcount);
1954 if (qdcount != 1) {
/freebsd-9.3-release/include/arpa/
H A Dnameser_compat.h91 unsigned qdcount :16; /*%< number of question entries */ member in struct:__anon4941
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_send.c230 int qdcount = ntohs(((const HEADER*)buf)->qdcount); local
232 while (qdcount-- > 0) {
268 int qdcount = ntohs(((const HEADER*)buf1)->qdcount); local
281 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount))
283 while (qdcount-- > 0) {
H A Dres_debug.c277 int qdcount, ancount, nscount, arcount; local
287 qdcount = ns_msg_count(handle, ns_s_qd);
322 p_section(ns_s_qd, opcode), qdcount);
341 if (qdcount == 0 && ancount == 0 &&
H A Dres_mkquery.c150 hp->qdcount = htons(1);
H A Dres_mkupdate.c726 hp->qdcount = htons(counts[0]);
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dresolve.h274 unsigned qdcount; member in struct:dns_header
H A Dresolve.c438 r->h.qdcount = (p[4] << 8) | p[5];
445 if(r->h.qdcount != 1) {
/freebsd-9.3-release/sys/netinet/libalias/
H A Dalias_nbt.c215 u_short qdcount; member in struct:__anon9965
805 ntohs(nsh->qdcount),
814 if (ntohs(nsh->qdcount) != 0) {
816 ntohs(nsh->qdcount),
/freebsd-9.3-release/usr.sbin/ppp/
H A Dip.c96 u_short qdcount; member in struct:dns_header

Completed in 154 milliseconds