Searched refs:InlineCacheRDSize (Results 1 - 3 of 3) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
H A D | dnsextd.c | 789 if (orig->resrec.rdlength > InlineCacheRDSize) size += orig->resrec.rdlength - InlineCacheRDSize; 1451 if (rr->rdlength > InlineCacheRDSize) allocsize += (rr->rdlength - InlineCacheRDSize); 1454 memcpy(&tmp->rr, &lcr.r, sizeof(CacheRecord) + rr->rdlength - InlineCacheRDSize);
|
/external/mdnsresponder/mDNSCore/ |
H A D | mDNSEmbeddedAPI.h | 815 // InlineCacheRDSize is 68 827 #define InlineCacheRDSize 68 macro 888 mDNSu16 MaxRDLength; // Storage allocated for data (may be greater than InlineCacheRDSize if additional storage follows this object) 890 mDNSu8 data[InlineCacheRDSize]; 1364 mDNSu8 _extradata[MaximumRDSize-InlineCacheRDSize]; // Glue on the necessary number of extra bytes 2539 // are InlineCacheRDSize or less, then you can just make a simple mDNSPlatformMemAllocate() stub that always returns 2540 // NULL. InlineCacheRDSize is a compile-time constant, which is set by default to 68. If you need to handle records
|
H A D | mDNS.c | 4124 if (RDLength > InlineCacheRDSize) // If RDLength is too big, allocate extra storage 6363 //if (RDLength > InlineCacheRDSize) 6364 // LogInfo("Rdata len %4d > InlineCacheRDSize %d %s", RDLength, InlineCacheRDSize, CRDisplayString(m, &m->rec.r)); 6378 if (rr->resrec.rdata == (RData*)&rr->smallrdatastorage && RDLength > InlineCacheRDSize) 6379 LogMsg("rr->resrec.rdata == &rr->rdatastorage but length > InlineCacheRDSize %##s", m->rec.r.resrec.name->c); 6380 else if (rr->resrec.rdata != (RData*)&rr->smallrdatastorage && RDLength <= InlineCacheRDSize) 6381 LogMsg("rr->resrec.rdata != &rr->rdatastorage but length <= InlineCacheRDSize %##s", m->rec.r.resrec.name->c); 6382 if (RDLength > InlineCacheRDSize) 6824 if (m->rec.r.resrec.rdlength > InlineCacheRDSize) [all...] |
Completed in 248 milliseconds