Searched refs:restlen (Results 1 – 1 of 1) sorted by relevance
593 int restlen = ic->parm.dss1_io.datalen; in interrogate_success() local598 if (restlen < 2) return (-100); /* frame too short */ in interrogate_success()601 restlen -= 2; /* remaining bytes */ in interrogate_success()603 if (restlen < 2) return (-103); in interrogate_success()604 if ((*(src + restlen - 1)) || (*(src + restlen - 2))) return (-104); in interrogate_success()605 restlen -= 2; in interrogate_success()608 restlen--; in interrogate_success()609 if (n > restlen) return (-105); in interrogate_success()610 restlen = n; in interrogate_success()611 } else if (n > restlen) in interrogate_success()[all …]