Searched refs:numQuestions (Results 1 – 7 of 7) sorted by relevance
/external/jmdns/src/javax/jmdns/impl/ |
D | DNSIncoming.java | 194 int numQuestions = _messageInputStream.readUnsignedShort(); in DNSIncoming() local 200 if (numQuestions > 0) { in DNSIncoming() 201 for (int i = 0; i < numQuestions; i++) { in DNSIncoming()
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 208 mDNSu8 *ptr = (mDNSu8 *)&pkt->msg.h.numQuestions; in HdrNToH() 209 pkt->msg.h.numQuestions = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in HdrNToH() 218 mDNSu16 numQuestions = pkt->msg.h.numQuestions; in HdrHToN() local 222 mDNSu8 *ptr = (mDNSu8 *)&pkt->msg.h.numQuestions; in HdrHToN() 225 *ptr++ = (mDNSu8)(numQuestions >> 8); in HdrHToN() 226 *ptr++ = (mDNSu8)(numQuestions & 0xFF); in HdrHToN() 359 ntohs(pkt->msg.h.numQuestions), in SendPacket() 584 pkt->msg.h.numQuestions && !pkt->msg.h.numAnswers && !pkt->msg.h.numAuthorities) return mDNStrue; in IsLLQAck() 713 ntohs(request->msg.h.numQuestions), in UDPServerTransaction() 2339 if (!pkt->msg.h.numQuestions || !pkt->msg.h.numAdditionals) in RecvLLQ() [all …]
|
/external/mdnsresponder/mDNSPosix/ |
D | NetMonitor.c | 489 …srcaddr, ptype, msg->h.numQuestions, msg->h.numAnswers, msg->h.numAuthorities, msg->h.numAdditiona… in DisplayPacketHeader() 625 for (i=0; i<msg->h.numQuestions; i++) in DisplayQuery() 663 if (msg->h.numQuestions == 0 && i == 0) in DisplayQuery() 699 for (i=0; i<msg->h.numQuestions; i++) in DisplayResponse() 784 mDNSu8 *ptr = (mDNSu8 *)&msg->h.numQuestions; in mDNSCoreReceive() 791 msg->h.numQuestions = (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in mDNSCoreReceive()
|
/external/mdnsresponder/mDNSCore/ |
D | mDNS.c | 2410 …m->omsg.h.numQuestions, m->omsg.h.numAnswers, m->omsg.h.numAuthorities, m->omsg.h.numAdditionals, … in SendResponses() 2413 …m->omsg.h.numQuestions, m->omsg.h.numAnswers, m->omsg.h.numAuthorities, m->omsg.h.numAdditionals, … in SendResponses() 2605 if (query->h.numQuestions > 1 && newptr + forecast >= limit) in BuildQuestion() 2609 query->h.numQuestions--; in BuildQuestion() 3119 …const mDNSu8 *const limit = m->omsg.data + (m->omsg.h.numQuestions ? NormalMaxDNSMessageData : Abs… in SendQueries() 3154 if (m->omsg.h.numQuestions > 1) in SendQueries() 3185 …m->omsg.h.numQuestions, m->omsg.h.numAnswers, m->omsg.h.numAuthorities, m->omsg.h.numAdditionals, … in SendQueries() 3187 …if (m->omsg.h.numQuestions != 1 || m->omsg.h.numAnswers != 0 || m->omsg.h.numAuthorities != 1 || m… in SendQueries() 3190 …m->omsg.h.numQuestions, m->omsg.h.numAnswers, m->omsg.h.numAuthorities, m->omsg.h.numAdditionals, … in SendQueries() 3193 if ((m->omsg.h.flags.b[0] & kDNSFlag0_TC) && m->omsg.h.numQuestions > 1) in SendQueries() [all …]
|
D | mDNSEmbeddedAPI.h | 453 #define mDNS_numZones numQuestions 461 mDNSu16 numQuestions; 2493 …(M)->h.numQuestions = (mDNSu16)((mDNSu8 *)&(M)->h.numQuestions )[0] << 8 | ((mDNSu8 *)&(M)->h.n…
|
D | DNSCommon.c | 1517 h->numQuestions = 0; in InitializeDNSMessage() 1860 msg->h.numQuestions++; in putQuestion() 2429 for (i = 0; i < msg->h.numQuestions && ptr; i++) ptr = skipQuestion(msg, ptr, end); in LocateAnswers() 2574 LogMsg("%2d %s", msg->h.numQuestions, IsUpdate ? "Zone" : "Questions"); in DumpPacket() 2575 for (i = 0; i < msg->h.numQuestions && ptr; i++) in DumpPacket()
|
D | uDNS.c | 862 if (msg->h.numQuestions && getQuestion(msg, msg->data, end, 0, &pktQ)) in uDNS_recvLLQResponse() 3442 if (msg->h.numQuestions != 1) return(mDNSfalse); in uDNS_ReceiveTestQuestionResponse() 3510 msg->h.numQuestions, msg->h.numQuestions == 1 ? ", " : "s,", in uDNS_ReceiveMsg()
|