PPP_PAP
spa.proto = PPP_PAP;
case PPP_PAP:
sppp_auth_type_name(PPP_PAP, h->type),
sppp_auth_type_name(PPP_PAP, h->type),
PPP_PAP, IDX_PAP, CP_AUTH, "pap",
if (sp->myauth.proto == PPP_PAP &&
if (sp->hisauth.proto == PPP_PAP &&
if (sp->myauth.proto == PPP_PAP) {
if (spa->proto != 0 && spa->proto != PPP_PAP &&
case PPP_PAP:
case PPP_PAP: return "pap";
case PPP_PAP:
case PPP_PAP:
case PPP_PAP:
REJCISHORT(CI_AUTHTYPE, neg_upap, PPP_PAP);
if (cishort == PPP_PAP) {
PUTSHORT(PPP_PAP, nakp);
PUTSHORT(PPP_PAP, nakp);
case PPP_PAP:
ADDCISHORT(CI_AUTHTYPE, !go->neg_chap && go->neg_upap, PPP_PAP);
ACKCISHORT(CI_AUTHTYPE, !go->neg_chap && go->neg_upap, PPP_PAP);
if (cishort == PPP_PAP && cilen == CILEN_SHORT) {
|| protocol == PPP_PAP || protocol == PPP_CHAP)) {
auth_withpeer_fail(u->us_unit, PPP_PAP);
auth_peer_fail(u->us_unit, PPP_PAP);
auth_withpeer_fail(unit, PPP_PAP);
auth_peer_fail(unit, PPP_PAP);
auth_peer_success(u->us_unit, PPP_PAP, ruser, ruserlen);
auth_peer_fail(u->us_unit, PPP_PAP);
auth_withpeer_success(u->us_unit, PPP_PAP);
auth_withpeer_fail(u->us_unit, PPP_PAP);
MAKEHEADER(outp, PPP_PAP);
MAKEHEADER(outp, PPP_PAP);
PPP_PAP,
case PPP_PAP:
case PPP_PAP:
{ PPP_PAP, "PAP" }, /* Password Authentication Protocol */