Lines Matching refs:neg_upap
286 { "require-pap", o_bool, &lcp_wantoptions[0].neg_upap,
289 { "+pap", o_bool, &lcp_wantoptions[0].neg_upap,
420 lcp_allowoptions[0].neg_upap = 1;
749 if (auth_required && !(go->neg_upap || go->neg_chap || go->neg_eap)) {
759 } else if (!wo->neg_upap || uselogin || !null_login(unit)) {
775 } else if (go->neg_upap) {
785 } else if (ho->neg_upap) {
819 if (go->neg_chap || go->neg_upap || go->neg_eap) {
1251 if (!wo->neg_chap && !wo->neg_upap && !wo->neg_eap) { in auth_check_options()
1254 wo->neg_upap = 1; in auth_check_options()
1260 wo->neg_upap = 0; in auth_check_options()
1270 can_auth = wo->neg_upap && (uselogin || have_pap_secret(&lacks_ip)); in auth_check_options()
1325 ao->neg_upap = !refuse_pap && (passwd[0] != 0 || get_pap_passwd(NULL));
1337 if (go->neg_upap && !uselogin && !have_pap_secret(NULL))
1338 go->neg_upap = 0;