Lines Matching refs:pktrdlength

1837 	mDNSu16 pktrdlength;  in skipResourceRecord()  local
1843 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]); in skipResourceRecord()
1845 …if (ptr + pktrdlength > end) { debugf("skipResourceRecord: RDATA exceeds end of packet"); return(m… in skipResourceRecord()
1847 return(ptr + pktrdlength); in skipResourceRecord()
1854 mDNSu16 pktrdlength; in GetLargeResourceRecord() local
1889 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]); in GetLargeResourceRecord()
1893 …if (ptr + pktrdlength > end) { debugf("GetResourceRecord: RDATA exceeds end of packet"); return(mD… in GetLargeResourceRecord()
1894 end = ptr + pktrdlength; // Adjust end to indicate the end of the rdata for this resource record in GetLargeResourceRecord()
1918 case kDNSType_TXT: if (pktrdlength > rr->resrec.rdata->MaxRDLength) in GetLargeResourceRecord()
1921 DNSTypeName(rr->resrec.rrtype), pktrdlength, rr->resrec.rdata->MaxRDLength); in GetLargeResourceRecord()
1924 rr->resrec.rdlength = pktrdlength; in GetLargeResourceRecord()
1925 mDNSPlatformMemCopy(ptr, rr->resrec.rdata->u.data, pktrdlength); in GetLargeResourceRecord()
1952 case kDNSType_OPT: getOptRdata(ptr, end, largecr, pktrdlength); break; in GetLargeResourceRecord()
1954 default: if (pktrdlength > rr->resrec.rdata->MaxRDLength) in GetLargeResourceRecord()
1957 … rr->resrec.rrtype, DNSTypeName(rr->resrec.rrtype), pktrdlength, rr->resrec.rdata->MaxRDLength); in GetLargeResourceRecord()
1967 rr->resrec.rdlength = pktrdlength; in GetLargeResourceRecord()
1968 mDNSPlatformMemCopy(ptr, rr->resrec.rdata->u.data, pktrdlength); in GetLargeResourceRecord()
1977 return(ptr + pktrdlength); in GetLargeResourceRecord()