Searched refs:rdend (Results 1 – 2 of 2) sorted by relevance
285 mDNSu8 *rdend = (mDNSu8 *)rd + pktrr->rdlength; in RecordHostInfo() local288 if (sw + 1 + sw[0] <= rdend) in RecordHostInfo()511 mDNSu8 *rdend = (mDNSu8 *)rd + pktrr->rdlength; in DisplayResourceRecord() local525 while (t < rdend && t[0] && p < buffer+MaxWidth) in DisplayResourceRecord()542 if (t < rdend && t[0]) { *p++ = '\\'; *p++ = ' '; } in DisplayResourceRecord()566 while (s < rdend && p < buffer+MaxWidth) in DisplayResourceRecord()
2447 mDNSu8 *rdend = rd + m->rec.r.resrec.rdlength; in ParseTSIGError() local2448 int alglen = DomainNameLengthLimit(&m->rec.r.resrec.rdata->u.name, rdend); in ParseTSIGError()2451 if (rd + 6 > rdend) goto finish; in ParseTSIGError()2453 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish; in ParseTSIGError()2455 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish; in ParseTSIGError()2458 if (rd + macsize > rdend) goto finish; in ParseTSIGError()2460 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish; in ParseTSIGError()2462 if (rd + sizeof(mDNSOpaque16) > rdend) goto finish; in ParseTSIGError()