Home
last modified time | relevance | path

Searched refs:numAnswers (Results 1 – 8 of 8) sorted by relevance

/external/jmdns/src/javax/jmdns/impl/
DDNSIncoming.java195 int numAnswers = _messageInputStream.readUnsignedShort(); in DNSIncoming() local
207 if (numAnswers > 0) { in DNSIncoming()
208 for (int i = 0; i < numAnswers; i++) { in DNSIncoming()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c489 …srcaddr, ptype, msg->h.numQuestions, msg->h.numAnswers, msg->h.numAuthorities, msg->h.numAdditiona… in DisplayPacketHeader()
653 for (i=0; i<msg->h.numAnswers; i++) in DisplayQuery()
711 for (i=0; i<msg->h.numAnswers; i++) in DisplayResponse()
762 for (i=0; i<msg->h.numAnswers + msg->h.numAuthorities + msg->h.numAdditionals; i++) in ProcessUnicastResponse()
792 msg->h.numAnswers = (mDNSu16)((mDNSu16)ptr[2] << 8 | ptr[3]); in mDNSCoreReceive()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c210 pkt->msg.h.numAnswers = (mDNSu16)((mDNSu16)ptr[2] << 8 | ptr[3]); in HdrNToH()
219 mDNSu16 numAnswers = pkt->msg.h.numAnswers; in HdrHToN() local
227 *ptr++ = (mDNSu8)(numAnswers >> 8); in HdrHToN()
228 *ptr++ = (mDNSu8)(numAnswers & 0xFF); in HdrHToN()
360 ntohs(pkt->msg.h.numAnswers), in SendPacket()
584 pkt->msg.h.numQuestions && !pkt->msg.h.numAnswers && !pkt->msg.h.numAuthorities) return mDNStrue; in IsLLQAck()
714 ntohs(request->msg.h.numAnswers), in UDPServerTransaction()
1795 for (i = 0; i < reply->msg.h.numAnswers; i++) in AnswerQuestion()
1912 …end = PutResourceRecordTTLJumbo(&response.msg, end, &response.msg.h.numAnswers, &cr->resrec, cr->r… in SendEvents()
2193 end = PutResourceRecordTTLJumbo(&ack.msg, end, &ack.msg.h.numAnswers, &ptr->resrec, 1); in LLQCompleteHandshake()
/external/mdnsresponder/mDNSCore/
DmDNS.c1714 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAnswers, &rr->resrec); in SendDelayedUnicastResponse()
1716 if (!newptr && m->omsg.h.numAnswers) break; // If packet full, send it now in SendDelayedUnicastResponse()
1735 if (newptr && m->omsg.h.numAnswers) rr->RequireGoodbye = mDNStrue; in SendDelayedUnicastResponse()
1743 if (m->omsg.h.numAnswers) in SendDelayedUnicastResponse()
2270 newptr = PutRR_OS_TTL(responseptr, &m->omsg.h.numAnswers, &rr->resrec, 0); in SendResponses()
2279 …newptr = PutRR_OS_TTL(responseptr, &m->omsg.h.numAnswers, &rr->resrec, active ? rr->resrec.rrorigi… in SendResponses()
2315 mDNSBool SendAdditional = (m->omsg.h.numAnswers > 0); in SendResponses()
2394 if (m->omsg.h.numAnswers || m->omsg.h.numAdditionals) in SendResponses()
2408 else if (m->omsg.h.numAnswers + m->omsg.h.numAuthorities + m->omsg.h.numAdditionals == 1) in SendResponses()
2410 …m->omsg.h.numQuestions, m->omsg.h.numAnswers, m->omsg.h.numAuthorities, m->omsg.h.numAdditionals, … in SendResponses()
[all …]
DmDNSEmbeddedAPI.h454 #define mDNS_numPrereqs numAnswers
462 mDNSu16 numAnswers;
2494 …(M)->h.numAnswers = (mDNSu16)((mDNSu8 *)&(M)->h.numAnswers )[0] << 8 | ((mDNSu8 *)&(M)->h.n…
DDNSCommon.h193 #define AllowedRRSpace(msg) (((msg)->h.numAnswers || (msg)->h.numAuthorities || (msg)->h.numAdditio…
DDNSCommon.c1518 h->numAnswers = 0; in InitializeDNSMessage()
2437 for (i = 0; i < msg->h.numAnswers && ptr; i++) ptr = skipResourceRecord(msg, ptr, end); in LocateAuthorities()
2580 ptr = DumpRecords(m, msg, ptr, end, msg->h.numAnswers, IsUpdate ? "Prerequisites" : "Answers"); in DumpPacket()
DuDNS.c918 …Refresh && mDNSSameOpaque64(&opt->u.llq.id, &q->id) && msg->h.numAdditionals && !msg->h.numAnswers) in uDNS_recvLLQResponse()
3450 if ((msg->h.flags.b[1] & kDNSFlag1_RC_Mask) == kDNSFlag1_RC_NoErr && msg->h.numAnswers > 0) in uDNS_ReceiveTestQuestionResponse()
3511 msg->h.numAnswers, msg->h.numAnswers == 1 ? ", " : "s,", in uDNS_ReceiveMsg()