Home | History | Annotate | Download | only in pppd

Lines Matching refs:cilen

778     u_char cilen, citype, cichar;
792 GETCHAR(cilen, p); \
793 if (cilen != CILEN_VOID || \
802 GETCHAR(cilen, p); \
803 if (cilen != CILEN_SHORT || \
815 GETCHAR(cilen, p); \
816 if (cilen != CILEN_CHAR || \
828 GETCHAR(cilen, p); \
829 if (cilen != CILEN_CHAP || \
844 GETCHAR(cilen, p); \
845 if (cilen != CILEN_LONG || \
857 GETCHAR(cilen, p); \
858 if (cilen != CILEN_LQR || \
874 GETCHAR(cilen, p); \
875 if (cilen != CILEN_CHAR + vlen || \
941 int cilen;
1065 cilen = p[1];
1066 len -= cilen;
1072 if (cishort == PPP_PAP && cilen == CILEN_SHORT) {
1087 } else if (cishort == PPP_CHAP && cilen == CILEN_CHAP) {
1130 if (cishort == PPP_EAP && cilen == CILEN_SHORT && go->neg_eap)
1143 p += cilen - CILEN_SHORT;
1225 GETCHAR(cilen, p);
1226 if (cilen < CILEN_VOID || (len -= cilen) < 0)
1228 next = p + cilen - 2;
1233 || no.neg_mru || cilen != CILEN_SHORT)
1243 || no.neg_asyncmap || cilen != CILEN_LONG)
1253 cilen != CILEN_LONG)
1258 || cilen != CILEN_VOID)
1263 || cilen != CILEN_VOID)
1267 if (go->neg_lqr || no.neg_lqr || cilen != CILEN_LQR)
1271 if (go->neg_mrru || no.neg_mrru || cilen != CILEN_SHORT)
1275 if (go->neg_ssnhf || no.neg_ssnhf || cilen != CILEN_VOID)
1280 if (go->neg_endpoint || no.neg_endpoint || cilen < CILEN_CHAR)
1490 int cilen, citype, cichar; /* Parsed len, type, char value */
1519 cilen = l; /* Reject till end of packet */
1525 GETCHAR(cilen, p); /* Parse CI length */
1526 l -= cilen; /* Adjust remaining length */
1527 next += cilen; /* Step to next CI */
1532 cilen != CILEN_SHORT) { /* Check CI length */
1556 cilen != CILEN_LONG) {
1578 if (cilen < CILEN_SHORT ||
1603 cilen != CILEN_SHORT) {
1627 cilen != CILEN_CHAP) {
1662 if (ho->neg_chap || ho->neg_upap || cilen != CILEN_SHORT) {
1707 cilen != CILEN_LQR) {
1731 cilen != CILEN_LONG) {
1756 cilen != CILEN_VOID) {
1765 cilen != CILEN_VOID) {
1774 cilen != CILEN_SHORT) {
1787 cilen != CILEN_VOID) {
1796 cilen < CILEN_CHAR ||
1797 cilen > CILEN_CHAR + MAX_ENDP_LEN) {
1802 cilen -= CILEN_CHAR;
1805 ho->endpoint.length = cilen;
1806 BCOPY(p, ho->endpoint.value, cilen);
1807 INCPTR(cilen, p);
1834 BCOPY(cip, rejp, cilen); /* Move it */
1835 INCPTR(cilen, rejp); /* Update output pointer */