Lines Matching refs:code
100 lh.code = PAP_REQUEST; in pap_Req()
116 SendPapCode(struct authinfo *authp, int code, const char *message) in SendPapCode() argument
123 lh.code = code; in SendPapCode()
138 log_Printf(LogPHASE, "Pap Output: %s\n", papcodes[code]); in SendPapCode()
209 if (authp->in.hdr.code == 0 || authp->in.hdr.code > MAXPAPCODE) { in pap_Input()
210 log_Printf(LogPHASE, "Pap Input: %d: Bad PAP code !\n", authp->in.hdr.code); in pap_Input()
215 if (authp->in.hdr.code != PAP_REQUEST && authp->id != authp->in.hdr.id && in pap_Input()
219 papcodes[authp->in.hdr.code], authp->in.hdr.id, authp->id); in pap_Input()
228 if (authp->in.hdr.code == PAP_ACK) { in pap_Input()
248 papcodes[authp->in.hdr.code], txtlen, txt); in pap_Input()
250 switch (authp->in.hdr.code) { in pap_Input()