Home
last modified time | relevance | path

Searched refs:neg_upap (Results 1 – 6 of 6) sorted by relevance

/external/syslinux/core/lwip/src/netif/ppp/
Dauth.c235 { "require-pap", o_bool, &lcp_wantoptions[0].neg_upap,
237 { "+pap", o_bool, &lcp_wantoptions[0].neg_upap,
292 lcp_allowoptions[0].neg_upap = 1;
463 if (ppp_settings.auth_required && !(go->neg_chap || go->neg_upap)) { in link_established()
469 if (!wo->neg_upap || !null_login(unit)) { in link_established()
488 if (go->neg_upap) { in link_established()
503 if (ho->neg_upap) { in link_established()
534 if ((go->neg_chap || go->neg_upap) && !did_authup) { in network_phase()
801 if (ppp_settings.auth_required && !wo->neg_chap && !wo->neg_upap) {
803 wo->neg_upap = 1;
[all …]
Dlcp.c260 wo->neg_upap = 0; /* Set to 1 on server */ in lcp_init()
274 ao->neg_upap = (PAP_SUPPORT != 0); in lcp_init()
549 LENCISHORT(!go->neg_chap && go->neg_upap) + in lcp_cilen()
614 ADDCISHORT(CI_AUTHTYPE, !go->neg_chap && go->neg_upap, PPP_PAP); in lcp_addci()
728 ACKCISHORT(CI_AUTHTYPE, !go->neg_chap && go->neg_upap, PPP_PAP); in lcp_ackci()
876 if ((go->neg_chap || go->neg_upap) in lcp_nakci()
882 no.neg_upap = go->neg_upap; in lcp_nakci()
911 try.neg_upap = 0; in lcp_nakci()
922 try.neg_upap = 0; in lcp_nakci()
1010 if (go->neg_chap || no.neg_chap || go->neg_upap || no.neg_upap) { in lcp_nakci()
[all …]
Dlcp.h89 u_int neg_upap : 1; /* Ask for UPAP authentication? */ member
/external/ppp/pppd/
Dlcp.c363 ao->neg_upap = 1;
691 LENCISHORT(!go->neg_eap && !go->neg_chap && go->neg_upap) +
767 ADDCISHORT(CI_AUTHTYPE, !go->neg_eap && !go->neg_chap && go->neg_upap,
916 ACKCISHORT(CI_AUTHTYPE, !go->neg_eap && !go->neg_chap && go->neg_upap,
1085 if ((go->neg_chap || go->neg_upap || go->neg_eap)
1091 no.neg_upap = go->neg_upap;
1144 try.neg_upap = 0;
1165 try.neg_upap = 0;
1270 if (go->neg_chap || no.neg_chap || go->neg_upap || no.neg_upap ||
1397 try.neg_eap = try.neg_upap = 0; \
[all …]
Dauth.c286 { "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()
[all …]
Dlcp.h94 bool neg_upap; /* Ask for UPAP authentication? */ member