Lines Matching refs:lengthleft
623 int lengthleft; in interpret_ppp_chap() local
655 lengthleft = len - sizeof (ppp_pkt_t); in interpret_ppp_chap()
663 if (lengthleft < sizeof (value_size)) in interpret_ppp_chap()
667 lengthleft -= sizeof (value_size); in interpret_ppp_chap()
671 if (lengthleft < sizeof (peername_size)) in interpret_ppp_chap()
674 value_size, lengthleft); in interpret_ppp_chap()
683 lengthleft); in interpret_ppp_chap()
707 int lengthleft; in interpret_ppp_pap() local
717 lengthleft = len - sizeof (ppp_pkt_t); in interpret_ppp_pap()
744 if (lengthleft < sizeof (fieldlen)) in interpret_ppp_pap()
749 lengthleft -= sizeof (fieldlen); in interpret_ppp_pap()
751 if (lengthleft < fieldlen) in interpret_ppp_pap()
755 lengthleft -= fieldlen; in interpret_ppp_pap()
759 if (lengthleft < sizeof (fieldlen)) in interpret_ppp_pap()
764 lengthleft -= sizeof (fieldlen); in interpret_ppp_pap()
766 if (lengthleft < fieldlen) in interpret_ppp_pap()
777 if (lengthleft < sizeof (msglen)) in interpret_ppp_pap()
782 lengthleft -= sizeof (msglen); in interpret_ppp_pap()
784 if (lengthleft < msglen) in interpret_ppp_pap()