Searched refs:rdend (Results 1 - 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSPosix/
H A DNetMonitor.c285 mDNSu8 *rdend = (mDNSu8 *)rd + pktrr->rdlength; local
288 if (sw + 1 + sw[0] <= rdend)
511 mDNSu8 *rdend = (mDNSu8 *)rd + pktrr->rdlength; local
525 while (t < rdend && t[0] && p < buffer+MaxWidth)
542 if (t < rdend && t[0]) { *p++ = '\\'; *p++ = ' '; }
566 while (s < rdend && p < buffer+MaxWidth)
/external/mdnsresponder/mDNSCore/
H A DuDNS.c2447 mDNSu8 *rdend = rd + m->rec.r.resrec.rdlength; local
2448 int alglen = DomainNameLengthLimit(&m->rec.r.resrec.rdata->u.name, rdend);
2451 if (rd + 6 > rdend) goto finish;
2453 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish;
2455 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish;
2458 if (rd + macsize > rdend) goto finish;
2460 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish;
2462 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish;

Completed in 186 milliseconds