Lines Matching refs:cilen
801 u_char cilen, citype, cichar; local
815 GETCHAR(cilen, p); \
816 if (cilen != CILEN_VOID || \
825 GETCHAR(cilen, p); \
826 if (cilen != CILEN_SHORT || \
838 GETCHAR(cilen, p); \
839 if (cilen != CILEN_CHAR || \
851 GETCHAR(cilen, p); \
852 if (cilen != CILEN_CHAP || \
867 GETCHAR(cilen, p); \
868 if (cilen != CILEN_LONG || \
880 GETCHAR(cilen, p); \
881 if (cilen != CILEN_LQR || \
897 GETCHAR(cilen, p); \
898 if (cilen != CILEN_CHAR + vlen || \
964 int cilen; local
1088 cilen = p[1];
1089 len -= cilen;
1095 if (cishort == PPP_PAP && cilen == CILEN_SHORT) {
1110 } else if (cishort == PPP_CHAP && cilen == CILEN_CHAP) {
1153 if (cishort == PPP_EAP && cilen == CILEN_SHORT && go->neg_eap)
1166 p += cilen - CILEN_SHORT;
1248 GETCHAR(cilen, p);
1249 if (cilen < CILEN_VOID || (len -= cilen) < 0)
1251 next = p + cilen - 2;
1256 || no.neg_mru || cilen != CILEN_SHORT)
1266 || no.neg_asyncmap || cilen != CILEN_LONG)
1276 cilen != CILEN_LONG)
1281 || cilen != CILEN_VOID)
1286 || cilen != CILEN_VOID)
1290 if (go->neg_lqr || no.neg_lqr || cilen != CILEN_LQR)
1294 if (go->neg_mrru || no.neg_mrru || cilen != CILEN_SHORT)
1298 if (go->neg_ssnhf || no.neg_ssnhf || cilen != CILEN_VOID)
1303 if (go->neg_endpoint || no.neg_endpoint || cilen < CILEN_CHAR)
1513 int cilen, citype, cichar; /* Parsed len, type, char value */ local
1542 cilen = l; /* Reject till end of packet */
1548 GETCHAR(cilen, p); /* Parse CI length */
1549 l -= cilen; /* Adjust remaining length */
1550 next += cilen; /* Step to next CI */
1555 cilen != CILEN_SHORT) { /* Check CI length */
1579 cilen != CILEN_LONG) {
1601 if (cilen < CILEN_SHORT ||
1626 cilen != CILEN_SHORT) {
1650 cilen != CILEN_CHAP) {
1685 if (ho->neg_chap || ho->neg_upap || cilen != CILEN_SHORT) {
1730 cilen != CILEN_LQR) {
1754 cilen != CILEN_LONG) {
1779 cilen != CILEN_VOID) {
1788 cilen != CILEN_VOID) {
1797 cilen != CILEN_SHORT) {
1810 cilen != CILEN_VOID) {
1819 cilen < CILEN_CHAR ||
1820 cilen > CILEN_CHAR + MAX_ENDP_LEN) {
1825 cilen -= CILEN_CHAR;
1828 ho->endpoint.length = cilen;
1829 BCOPY(p, ho->endpoint.value, cilen);
1830 INCPTR(cilen, p);
1857 BCOPY(cip, rejp, cilen); /* Move it */
1858 INCPTR(cilen, rejp); /* Update output pointer */