Lines Matching refs:code
93 static void chap_handle_response(ppp_pcb *pcb, int code,
102 static void chap_handle_status(ppp_pcb *pcb, int code, int id,
173 if (dp->code == digest_code) in chap_auth_peer()
205 if (dp->code == digest_code) in chap_auth_with_peer()
394 pcb->chap_server.digest->code,
497 static void chap_handle_status(ppp_pcb *pcb, int code, int id, argument
507 if (code == CHAP_SUCCESS) {
511 code = CHAP_FAILURE;
526 if (code == CHAP_SUCCESS)
527 auth_withpeer_success(pcb, PPP_CHAP, pcb->chap_client.digest->code);
536 unsigned char code, id; local
541 GETCHAR(code, pkt);
548 switch (code) {
559 chap_handle_status(pcb, code, id, pkt, len);
595 int code, id, len; local
601 GETCHAR(code, p);
607 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(chap_code_names))
608 printer(arg, " %s", chap_code_names[code-1]);
610 printer(arg, " code=0x%x", code);
613 switch (code) {