Lines Matching refs:targ
1537 const mDNSu8 *targ = result; in FindCompressionPointer() local
1538 while (targ + *name < end) in FindCompressionPointer()
1543 for (i=0; i <= *name; i++) if (targ[i] != name[i]) break; in FindCompressionPointer()
1545 targ += 1 + *name; // Else, did match, so advance target pointer in FindCompressionPointer()
1547 if (*name == 0 && *targ == 0) return(result); // If no more labels, we found a match! in FindCompressionPointer()
1551 if (targ[0] < 0x40) continue; // If length value, continue to check next label in FindCompressionPointer()
1552 if (targ[0] < 0xC0) break; // If 40-BF, not valid in FindCompressionPointer()
1553 if (targ+1 >= end) break; // Second byte not present! in FindCompressionPointer()
1554 pointertarget = base + (((mDNSu16)(targ[0] & 0x3F)) << 8) + targ[1]; in FindCompressionPointer()
1555 if (targ < pointertarget) break; // Pointertarget must point *backwards* in the packet in FindCompressionPointer()
1557 targ = pointertarget; in FindCompressionPointer()