Lines Matching refs:cilen

950     u_char cilen, citype, cichar;
964 GETCHAR(cilen, p); \
965 if (cilen != CILEN_VOID || \
974 GETCHAR(cilen, p); \
975 if (cilen != CILEN_SHORT || \
987 GETCHAR(cilen, p); \
988 if (cilen != CILEN_CHAR || \
1001 GETCHAR(cilen, p); \
1002 if (cilen != CILEN_CHAP || \
1018 GETCHAR(cilen, p); \
1019 if (cilen != CILEN_LONG || \
1032 GETCHAR(cilen, p); \
1033 if (cilen != CILEN_LQR || \
1050 GETCHAR(cilen, p); \
1051 if (cilen != CILEN_CHAR + vlen || \
1137 int cilen;
1275 cilen = p[1];
1276 len -= cilen;
1290 if (cishort == PPP_PAP && cilen == CILEN_SHORT) {
1314 if (cishort == PPP_CHAP && cilen == CILEN_CHAP) {
1365 if (cishort == PPP_EAP && cilen == CILEN_SHORT && go->neg_eap)
1390 p += cilen - CILEN_SHORT;
1479 GETCHAR(cilen, p);
1480 if (cilen < CILEN_VOID || (len -= cilen) < 0)
1482 next = p + cilen - 2;
1487 || no.neg_mru || cilen != CILEN_SHORT)
1497 || no.neg_asyncmap || cilen != CILEN_LONG)
1516 cilen != CILEN_LONG)
1521 || cilen != CILEN_VOID)
1526 || cilen != CILEN_VOID)
1531 if (go->neg_lqr || no.neg_lqr || cilen != CILEN_LQR)
1537 if (go->neg_mrru || no.neg_mrru || cilen != CILEN_SHORT)
1542 if (go->neg_ssnhf || no.neg_ssnhf || cilen != CILEN_VOID)
1547 if (go->neg_endpoint || no.neg_endpoint || cilen < CILEN_CHAR)
1826 int cilen, citype, cichar; /* Parsed len, type, char value */
1864 cilen = l; /* Reject till end of packet */
1870 GETCHAR(cilen, p); /* Parse CI length */
1871 l -= cilen; /* Adjust remaining length */
1872 next += cilen; /* Step to next CI */
1877 cilen != CILEN_SHORT) { /* Check CI length */
1901 cilen != CILEN_LONG) {
1923 if (cilen < CILEN_SHORT ||
1965 || cilen != CILEN_SHORT) {
2003 cilen != CILEN_CHAP) {
2054 cilen != CILEN_SHORT) {
2117 cilen != CILEN_LQR) {
2142 cilen != CILEN_LONG) {
2167 cilen != CILEN_VOID) {
2176 cilen != CILEN_VOID) {
2187 || cilen != CILEN_SHORT) {
2204 || cilen != CILEN_VOID) {
2213 cilen < CILEN_CHAR ||
2214 cilen > CILEN_CHAR + MAX_ENDP_LEN) {
2219 cilen -= CILEN_CHAR;
2222 ho->endpoint.length = cilen;
2223 MEMCPY(ho->endpoint.value, p, cilen);
2224 INCPTR(cilen, p);
2251 MEMCPY(rejp, cip, cilen); /* Move it */
2252 INCPTR(cilen, rejp); /* Update output pointer */