Lines Matching defs:cilen

1020     u_char cilen, citype, cichar;
1034 GETCHAR(cilen, p); \
1035 if (cilen != CILEN_VOID || \
1044 GETCHAR(cilen, p); \
1045 if (cilen != CILEN_SHORT || \
1057 GETCHAR(cilen, p); \
1058 if (cilen != CILEN_SHORT || \
1072 GETCHAR(cilen, p); \
1073 if (cilen != CILEN_CHAR || \
1085 GETCHAR(cilen, p); \
1086 if (cilen != CILEN_CHAP || \
1103 GETCHAR(cilen, p); \
1104 if (cilen != CILEN_LONG || \
1116 GETCHAR(cilen, p); \
1117 if (cilen != CILEN_LQR || \
1133 GETCHAR(cilen, p); \
1134 if (cilen != CILEN_CHAR + vlen || \
1206 int cilen;
1315 cilen = p[1];
1316 len -= cilen;
1323 if (cishort == PPP_PAP && cilen == CILEN_SHORT) {
1336 } else if (cishort == PPP_CHAP && cilen >= CILEN_CHAP) {
1354 p += cilen - CILEN_CHAP;
1393 p += cilen - CILEN_SHORT;
1494 GETCHAR(cilen, p);
1495 if (cilen < CILEN_VOID || (len -= cilen) < 0)
1497 next = p + cilen - 2;
1502 || no.neg_mru || cilen != CILEN_SHORT)
1513 || no.neg_asyncmap || cilen != CILEN_LONG)
1518 if (cilen >= CILEN_SHORT) {
1531 cilen != CILEN_LONG)
1536 || cilen != CILEN_VOID)
1541 || cilen != CILEN_VOID)
1545 if (go->neg_lqr || no.neg_lqr || cilen != CILEN_LQR)
1549 if (go->neg_mrru || no.neg_mrru || cilen != CILEN_SHORT)
1553 if (go->neg_ssnhf || no.neg_ssnhf || cilen != CILEN_VOID)
1558 if (go->neg_endpoint || no.neg_endpoint || cilen < CILEN_CHAR)
1562 if (go->neg_fcs || no.neg_fcs || cilen < CILEN_CHAR)
1567 if (go->pppmux || no.pppmux || cilen < CILEN_VOID)
1841 int cilen, citype, cichar; /* Parsed len, type, char value */
1854 for (len = *lenp; len > 0; len -= cilen, p = prev + cilen) {
1865 GETCHAR(cilen, p);
1874 if (cilen < 2)
1875 cilen = 2;
1892 for (len = *lenp; len > 0; len -= cilen, p = prev + cilen) {
1897 GETCHAR(cilen, p);
1906 if (cilen != CILEN_SHORT) { /* Check CI length */
1948 if (cilen != CILEN_LONG) {
1994 if (cilen >= CILEN_SHORT) {
2008 if (cilen >= CILEN_SHORT) {
2039 if (cilen != CILEN_SHORT)
2046 if (cilen >= CILEN_CHAP &&
2093 if (cilen != CILEN_LQR) {
2133 if (cilen < CILEN_LONG) {
2137 * looks odd to us. Ack if the cilen is wrong in this
2146 if (cilen > CILEN_LONG)
2174 if (cilen != CILEN_VOID) {
2187 if (cilen != CILEN_VOID) {
2201 if (cilen != CILEN_CHAR) {
2230 if (cilen != CILEN_SHORT) {
2261 if (cilen != CILEN_VOID) {
2274 if (cilen < CILEN_CHAR || cilen > CILEN_CHAR + MAX_ENDP_LEN) {
2288 ho->endpoint.length = cilen - 3;
2289 BCOPY(p, ho->endpoint.value, cilen - 3);
2294 if (ao->pppmux == 0 || cilen != CILEN_VOID) {
2310 if (cilen < 2)
2311 cilen = 2;
2338 BCOPY(prev, rejp, cilen);
2339 rejp += cilen;