Searched refs:pktrdlength (Results 1 – 1 of 1) sorted by relevance
2118 mDNSu16 pktrdlength; in skipResourceRecord() local2124 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]); in skipResourceRecord()2126 …if (ptr + pktrdlength > end) { debugf("skipResourceRecord: RDATA exceeds end of packet"); return(m… in skipResourceRecord()2128 return(ptr + pktrdlength); in skipResourceRecord()2136 mDNSu16 pktrdlength; in GetLargeResourceRecord() local2181 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]); in GetLargeResourceRecord()2189 …if (ptr + pktrdlength > end) { debugf("GetLargeResourceRecord: RDATA exceeds end of packet"); retu… in GetLargeResourceRecord()2190 end = ptr + pktrdlength; // Adjust end to indicate the end of the rdata for this resource record in GetLargeResourceRecord()2202 …if (rr->resrec.rrclass == kDNSQClass_ANY && pktrdlength == 0) // Used in update packets to mean "D… in GetLargeResourceRecord()2206 case kDNSType_A: if (pktrdlength != sizeof(mDNSv4Addr)) goto fail; in GetLargeResourceRecord()[all …]