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

/external/mdnsresponder/mDNSCore/
H A DDNSCommon.c2118 mDNSu16 pktrdlength; local
2124 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]);
2126 if (ptr + pktrdlength > end) { debugf("skipResourceRecord: RDATA exceeds end of packet"); return(mDNSNULL); }
2128 return(ptr + pktrdlength);
2136 mDNSu16 pktrdlength; local
2181 pktrdlength = (mDNSu16)((mDNSu16)ptr[8] << 8 | ptr[9]);
2189 if (ptr + pktrdlength > end) { debugf("GetLargeResourceRecord: RDATA exceeds end of packet"); return(mDNSNULL); }
2190 end = ptr + pktrdlength; // Adjust end to indicate the end of the rdata for this resource record
2202 if (rr->resrec.rrclass == kDNSQClass_ANY && pktrdlength == 0) // Used in update packets to mean "Delete An RRset" (RFC 2136)
2206 case kDNSType_A: if (pktrdlength !
[all...]

Completed in 20 milliseconds