Lines Matching refs:CHECK_LEN
23 #define CHECK_LEN(header, pp, plen, len) \ macro
27 (!CHECK_LEN(header, pp, plen, len) ? 0 : (long) ((pp) += (len)), 1)
40 if (!CHECK_LEN(header, p, plen, 1)) return 0; in extract_name()
46 if (!CHECK_LEN(header, p1 ? p1 : p, plen, extrabytes)) return 0; in extract_name()
66 if (!CHECK_LEN(header, p, plen, 1)) return 0; in extract_name()
94 if (!CHECK_LEN(header, p, plen, (count - 1) >> 3)) return 0; in extract_name()
113 if (!CHECK_LEN(header, p, plen, l)) return 0; in extract_name()
240 if (!CHECK_LEN(header, ansp, plen, 1)) return NULL; in skip_name()
254 if (!CHECK_LEN(header, ansp, plen, 2)) return NULL; in skip_name()
273 if (!CHECK_LEN(header, ansp, plen, extrabytes)) return NULL; in skip_name()
335 if (!CHECK_LEN(header, p, plen, 0)) return crc; /* bad packet */ in questions_crc()
446 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) return 0; in do_doctor()
591 if (!CHECK_LEN(header, p1, qlen, 0)) return 0; /* bad packet */ in extract_addresses()
653 if (!CHECK_LEN(header, p1, qlen, addrlen)) return 0; /* bad packet */ in extract_addresses()
671 if (!CHECK_LEN(header, p1, qlen, 0)) return 0; /* bad packet */ in extract_addresses()
820 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) return 0; in check_for_bogus_wildcard()