Home | History | Annotate | Download | only in pppd

Lines Matching defs:code

10  * 1. Redistributions of source code must retain the above copyright
120 static void chap_handle_response(struct chap_server_state *ss, int code,
128 static void chap_handle_status(struct chap_client_state *cs, int code, int id,
209 if (dp->code == digest_code)
239 if (dp->code == digest_code)
380 auth_peer_success(0, PPP_CHAP, ss->digest->code,
476 chap_handle_status(struct chap_client_state *cs, int code, int id,
486 if (code == CHAP_SUCCESS) {
490 code = CHAP_FAILURE;
505 if (code == CHAP_SUCCESS)
506 auth_withpeer_success(0, PPP_CHAP, cs->digest->code);
518 unsigned char code, id;
523 GETCHAR(code, pkt);
530 switch (code) {
539 chap_handle_status(cs, code, id, pkt, len);
575 int code, id, len;
581 GETCHAR(code, p);
587 if (code >= 1 && code <= sizeof(chap_code_names) / sizeof(char *))
588 printer(arg, " %s", chap_code_names[code-1]);
590 printer(arg, " code=0x%x", code);
593 switch (code) {