Searched defs:numAdditionals (Results 1 - 4 of 4) sorted by relevance

/external/mdnsresponder/mDNSCore/
H A DDNSDigest.c1334 mDNSu8 *rdata, *const countPtr = (mDNSu8 *)&msg->h.numAdditionals; // Get existing numAdditionals value
1342 mDNSu16 numAdditionals = (mDNSu16)((mDNSu16)countPtr[0] << 8 | countPtr[1]); local
1423 *end = PutResourceRecordTTLJumbo(msg, ptr, &numAdditionals, &tsig.resrec, 0);
1426 // Write back updated numAdditionals value
1427 countPtr[0] = (mDNSu8)(numAdditionals >> 8);
1428 countPtr[1] = (mDNSu8)(numAdditionals & 0xFF);
H A DDNSCommon.c1520 h->numAdditionals = 0;
1957 end = PutResourceRecordTTLJumbo(msg, end, &msg->h.numAdditionals, &rr.resrec, 0);
1972 end = PutResourceRecordTTLWithLimit(msg, end, &msg->h.numAdditionals, &rr.resrec, 0, limit);
1994 newptr = PutResourceRecordTTLWithLimit(msg, end, &msg->h.numAdditionals, &hinfo.resrec, 0, limit);
2458 for (i = 0; ptr && i < msg->h.numAdditionals; i++)
2582 ptr = DumpRecords(m, msg, ptr, end, msg->h.numAdditionals, "Additionals");
2606 const mDNSu16 numAdditionals = msg->h.numAdditionals; local
2645 // Swap the integer values back the way they were (remember that numAdditionals may have been changed by putHINFO and/or SignMessage)
2653 msg->h.numAdditionals
[all...]
H A DmDNSEmbeddedAPI.h475 mDNSu16 numAdditionals; variable
2498 // of the message, and is modified by this routine. numAdditionals is a pointer to the number of additional
2507 (M)->h.numAdditionals = (mDNSu16)((mDNSu8 *)&(M)->h.numAdditionals)[0] << 8 | ((mDNSu8 *)&(M)->h.numAdditionals)[1]; \
/external/mdnsresponder/mDNSShared/
H A Ddnsextd.c212 pkt->msg.h.numAdditionals = (mDNSu16)((mDNSu16)ptr[6] << 8 | ptr[7]);
221 mDNSu16 numAdditionals = pkt->msg.h.numAdditionals; local
231 *ptr++ = (mDNSu8)(numAdditionals >> 8);
232 *ptr++ = (mDNSu8)(numAdditionals & 0xFF);
362 ntohs(pkt->msg.h.numAdditionals));
559 if (!pkt->msg.h.numAdditionals) goto end;
564 for (i = 0; i < pkt->msg.h.numAdditionals; i++)
716 ntohs(request->msg.h.numAdditionals));
1917 end = PutResourceRecordTTLJumbo(&response.msg, end, &response.msg.h.numAdditionals,
[all...]

Completed in 236 milliseconds