Lines Matching defs:chap
95 * being one of "lcp", "ipcp", "cisco", "chap", "pap", etc.
439 static const struct cp chap = {
440 PPP_CHAP, IDX_CHAP, CP_AUTH, "chap",
452 &chap, /* IDX_CHAP */
2331 log(-1, "[invalid chap len] ");
2448 log(-1, "[chap not MD5] ");
2778 char opt[6 /* magicnum */ + 4 /* mru */ + 5 /* chap */];
3961 * RCA+: received reply (pap-req, chap-response), acceptable
3962 * RCN: received reply (pap-req, chap-response), not acceptable
3967 * scr: send request packet (none for PAP, chap-challenge)
3968 * sca: send ack packet (pap-ack, chap-success)
3969 * scn: send nak packet (pap-nak, chap-failure)
4013 SPP_FMT "chap invalid packet length: %d bytes\n",
4031 SPP_FMT "chap corrupted challenge "
4044 SPP_FMT "chap input <%s id=0x%x len=%d name=",
4063 sppp_auth_send(&chap, sp, CHAP_RESPONSE, h->ident,
4073 log(LOG_DEBUG, SPP_FMT "chap success",
4100 log(LOG_INFO, SPP_FMT "chap failure",
4108 log(LOG_INFO, SPP_FMT "chap failure\n",
4122 SPP_FMT "chap corrupted response "
4135 SPP_FMT "chap dropping response for old ID "
4143 log(LOG_INFO, SPP_FMT "chap response, his name ",
4152 log(LOG_DEBUG, SPP_FMT "chap input(%s) "
4166 SPP_FMT "chap bad hash value length: "
4186 sppp_auth_send(&chap, sp, CHAP_FAILURE, h->ident,
4189 chap.tld(sp);
4195 sppp_auth_send(&chap, sp, CHAP_SUCCESS, h->ident,
4199 sppp_cp_change_state(&chap, sp, STATE_OPENED);
4200 chap.tlu(sp);
4207 log(LOG_DEBUG, SPP_FMT "chap unknown input(%s) "
4237 chap.scr(sp);
4239 sppp_cp_change_state(&chap, sp, STATE_REQ_SENT);
4248 sppp_cp_change_state(&chap, sp, STATE_CLOSED);
4259 log(LOG_DEBUG, SPP_FMT "chap TO(%s) rst_counter = %d\n",
4268 chap.tld(sp);
4269 sppp_cp_change_state(&chap, sp, STATE_CLOSED);
4280 chap.scr(sp);
4282 sppp_cp_change_state(&chap, sp, STATE_REQ_SENT);
4310 callout_reset(&sp->ch[IDX_CHAP], i * hz, chap.TO, (void *)sp);
4315 SPP_FMT "chap %s, ",
4353 log(LOG_DEBUG, SPP_FMT "chap tld\n", SPP_ARGS(ifp));
4377 sppp_auth_send(&chap, sp, CHAP_CHALLENGE, sp->confid[IDX_CHAP],
5386 case PPP_CHAP: return "chap";