Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSShared/
Ddnsextd.c212 pkt->msg.h.numAdditionals = (mDNSu16)((mDNSu16)ptr[6] << 8 | ptr[7]); in HdrNToH()
221 mDNSu16 numAdditionals = pkt->msg.h.numAdditionals; in HdrHToN() local
231 *ptr++ = (mDNSu8)(numAdditionals >> 8); in HdrHToN()
232 *ptr++ = (mDNSu8)(numAdditionals & 0xFF); in HdrHToN()
362 ntohs(pkt->msg.h.numAdditionals)); in SendPacket()
559 if (!pkt->msg.h.numAdditionals) goto end; in IsLLQRequest()
564 for (i = 0; i < pkt->msg.h.numAdditionals; i++) in IsLLQRequest()
716 ntohs(request->msg.h.numAdditionals)); in UDPServerTransaction()
1917 …end = PutResourceRecordTTLJumbo(&response.msg, end, &response.msg.h.numAdditionals, &opt.resrec, 0… in SendEvents()
2144 end = PutResourceRecordTTLJumbo(&ack.msg, end, &ack.msg.h.numAdditionals, &opt.resrec, 0); in LLQRefresh()
[all …]
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c489 …sg->h.numQuestions, msg->h.numAnswers, msg->h.numAuthorities, msg->h.numAdditionals, end - (mDNSu8… in DisplayPacketHeader()
677 for (i=0; i<msg->h.numAdditionals; i++) in DisplayQuery()
740 for (i=0; i<msg->h.numAdditionals; i++) in DisplayResponse()
762 for (i=0; i<msg->h.numAnswers + msg->h.numAuthorities + msg->h.numAdditionals; i++) in ProcessUnicastResponse()
794 msg->h.numAdditionals = (mDNSu16)((mDNSu16)ptr[6] << 8 | ptr[7]); in mDNSCoreReceive()
/external/mdnsresponder/mDNSCore/
DDNSDigest.c1334 …mDNSu8 *rdata, *const countPtr = (mDNSu8 *)&msg->h.numAdditionals; // Get existing numAdditionals… in DNSDigest_SignMessage()
1342 mDNSu16 numAdditionals = (mDNSu16)((mDNSu16)countPtr[0] << 8 | countPtr[1]); in DNSDigest_SignMessage() local
1423 *end = PutResourceRecordTTLJumbo(msg, ptr, &numAdditionals, &tsig.resrec, 0); in DNSDigest_SignMessage()
1427 countPtr[0] = (mDNSu8)(numAdditionals >> 8); in DNSDigest_SignMessage()
1428 countPtr[1] = (mDNSu8)(numAdditionals & 0xFF); in DNSDigest_SignMessage()
DDNSCommon.c1520 h->numAdditionals = 0; in InitializeDNSMessage()
1957 end = PutResourceRecordTTLJumbo(msg, end, &msg->h.numAdditionals, &rr.resrec, 0); in putUpdateLease()
1972 end = PutResourceRecordTTLWithLimit(msg, end, &msg->h.numAdditionals, &rr.resrec, 0, limit); in putUpdateLeaseWithLimit()
1994 newptr = PutResourceRecordTTLWithLimit(msg, end, &msg->h.numAdditionals, &hinfo.resrec, 0, limit); in putHINFO()
2458 for (i = 0; ptr && i < msg->h.numAdditionals; i++) in LocateOptRR()
2582 ptr = DumpRecords(m, msg, ptr, end, msg->h.numAdditionals, "Additionals"); in DumpPacket()
2606 const mDNSu16 numAdditionals = msg->h.numAdditionals; in mDNSSendDNSMessage() local
2653 msg->h.numAdditionals = numAdditionals; in mDNSSendDNSMessage()
DmDNS.c1731 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAdditionals, &rr->resrec); in SendDelayedUnicastResponse()
2339 newptr = PutRR_OS(newptr, &m->omsg.h.numAdditionals, &rr->resrec); in SendResponses()
2377 newptr = PutRR_OS(responseptr, &m->omsg.h.numAdditionals, &nsec.resrec); in SendResponses()
2394 if (m->omsg.h.numAnswers || m->omsg.h.numAdditionals) in SendResponses()
2406 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAdditionals, &opt.resrec); in SendResponses()
2408 else if (m->omsg.h.numAnswers + m->omsg.h.numAuthorities + m->omsg.h.numAdditionals == 1) in SendResponses()
2410 …Questions, m->omsg.h.numAnswers, m->omsg.h.numAuthorities, m->omsg.h.numAdditionals, ARDisplayStri… in SendResponses()
2413 …Questions, m->omsg.h.numAnswers, m->omsg.h.numAuthorities, m->omsg.h.numAdditionals, ARDisplayStri… in SendResponses()
2420 m->omsg.h.numAdditionals, m->omsg.h.numAdditionals == 1 ? "" : "s", intf->InterfaceID); in SendResponses()
3181 queryptr = PutResourceRecordTTLWithLimit(&m->omsg, queryptr, &m->omsg.h.numAdditionals, in SendQueries()
[all …]
DDNSCommon.h193 …ce(msg) (((msg)->h.numAnswers || (msg)->h.numAuthorities || (msg)->h.numAdditionals) ? NormalMaxDN…
DmDNSEmbeddedAPI.h475 mDNSu16 numAdditionals;
2507 …(M)->h.numAdditionals = (mDNSu16)((mDNSu8 *)&(M)->h.numAdditionals)[0] << 8 | ((mDNSu8 *)&(M)->h.n…
DuDNS.c724 ptr = PutResourceRecordTTLJumbo(msg, ptr, &msg->h.numAdditionals, opt, 0); in putLLQ()
918 …kLLQOp_Refresh && mDNSSameOpaque64(&opt->u.llq.id, &q->id) && msg->h.numAdditionals && !msg->h.num… in uDNS_recvLLQResponse()
2439 for (i = 0; i < msg->h.numAdditionals; i++) in ParseTSIGError()
3513 msg->h.numAdditionals, msg->h.numAdditionals == 1 ? "" : "s", end - msg->data); in uDNS_ReceiveMsg()