Lines Matching refs:neg_chap
387 ao->neg_chap = 1; in lcp_init()
678 ao->neg_chap = (ao->chap_mdtype != MDTYPE_NONE); in lcp_resetci()
706 wo->neg_chap = (wo->chap_mdtype != MDTYPE_NONE); in lcp_resetci()
721 ao->neg_chap = 0; in lcp_resetci()
734 PPPDEBUG(LOG_DEBUG, (" CHAP=%d CHAP_MD5=%d", ao->neg_chap, !!(ao->chap_mdtype&MDTYPE_MD5))); in lcp_resetci()
796 LENCICHAP(!go->neg_eap && go->neg_chap) + in lcp_cilen()
799 LENCICHAP(go->neg_chap) + in lcp_cilen()
804 LENCISHORT(!go->neg_eap && !go->neg_chap && go->neg_upap) + in lcp_cilen()
810 LENCISHORT(!go->neg_chap && go->neg_upap) + in lcp_cilen()
898 ADDCICHAP(CI_AUTHTYPE, !go->neg_eap && go->neg_chap, go->chap_mdtype); in lcp_addci()
901 ADDCICHAP(CI_AUTHTYPE, go->neg_chap, go->chap_mdtype); in lcp_addci()
906 ADDCISHORT(CI_AUTHTYPE, !go->neg_eap && !go->neg_chap && go->neg_upap, PPP_PAP); in lcp_addci()
912 ADDCISHORT(CI_AUTHTYPE, !go->neg_chap && go->neg_upap, PPP_PAP); in lcp_addci()
1072 ACKCICHAP(CI_AUTHTYPE, !go->neg_eap && go->neg_chap, go->chap_mdtype); in lcp_ackci()
1075 ACKCICHAP(CI_AUTHTYPE, go->neg_chap, go->chap_mdtype); in lcp_ackci()
1080 ACKCISHORT(CI_AUTHTYPE, !go->neg_eap && !go->neg_chap && go->neg_upap, PPP_PAP); in lcp_ackci()
1086 ACKCISHORT(CI_AUTHTYPE, !go->neg_chap && go->neg_upap, PPP_PAP); in lcp_ackci()
1264 || go->neg_chap in lcp_nakci()
1278 no.neg_chap = go->neg_chap; in lcp_nakci()
1300 if (go->neg_chap) in lcp_nakci()
1301 try_.neg_chap = 0; in lcp_nakci()
1325 if (go->neg_chap) { in lcp_nakci()
1338 try_.neg_chap = 0; in lcp_nakci()
1378 if (go->neg_chap) in lcp_nakci()
1379 try_.neg_chap = 0; in lcp_nakci()
1503 || go->neg_chap || no.neg_chap in lcp_nakci()
1766 REJCICHAP(CI_AUTHTYPE, neg_chap, go->chap_mdtype); in lcp_rejci()
1767 if (!go->neg_chap) { in lcp_rejci()
1929 || ao->neg_chap in lcp_reqci()
1960 || ho->neg_chap in lcp_reqci()
2008 if (!ao->neg_chap) { /* we don't want to do CHAP */ in lcp_reqci()
2040 ho->neg_chap = 1; in lcp_reqci()
2049 ho->neg_chap || in lcp_reqci()
2063 if (ao->neg_chap) { in lcp_reqci()
2099 if (ao->neg_chap) { in lcp_reqci()