PPP_CHAP
spr.defs.hisauth.proto = PPP_CHAP;
spr.defs.myauth.proto = PPP_CHAP;
spr.defs.hisauth.proto = PPP_CHAP;
case PPP_CHAP: return "chap";
if (authproto == PPP_CHAP && p[1] != 5) {
if (authproto == PPP_CHAP && p[4] != CHAP_MD5) {
opt[i++] = authproto == PPP_CHAP? 5: 4;
if (authproto == PPP_CHAP)
sppp_auth_type_name(PPP_CHAP, h->type),
sppp_auth_type_name(PPP_CHAP, h->type), h->ident,
if (sp->myauth.proto == PPP_CHAP &&
sppp_auth_type_name(PPP_CHAP, h->type),
sppp_auth_type_name(PPP_CHAP, h->type),
PPP_CHAP, IDX_CHAP, CP_AUTH, "chap",
if (sp->myauth.proto == PPP_CHAP &&
spr->defs.myauth.proto != PPP_CHAP) ||
spr->defs.hisauth.proto != PPP_CHAP)) {
case PPP_CHAP:
case PPP_CHAP:
case PPP_CHAP: return "chap";