Lines Matching defs:pktrdlength
2798 mDNSu16 pktrdlength;
2804 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]);
2806 if (ptr + pktrdlength > end) { debugf("skipResourceRecord: RDATA exceeds end of packet"); return(mDNSNULL); }
2808 return(ptr + pktrdlength);
3441 mDNSu16 pktrdlength;
3486 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]);
3494 if (ptr + pktrdlength > end) { debugf("GetLargeResourceRecord: RDATA exceeds end of packet"); return(mDNSNULL); }
3495 end = ptr + pktrdlength; // Adjust end to indicate the end of the rdata for this resource record
3500 if (pktrdlength > MaximumRDSize)
3503 DNSTypeName(rr->resrec.rrtype), pktrdlength, rr->resrec.rdata->MaxRDLength);
3514 if (rr->resrec.rrclass == kDNSQClass_ANY && pktrdlength == 0) // Used in update packets to mean "Delete An RRset" (RFC 2136)
3516 else if (!SetRData(msg, ptr, end, largecr, pktrdlength))