Home | History | Annotate | Download | only in src

Lines Matching refs:code

10  * 1. Redistributions of source code must retain the above copyright
98 lh.code = PAP_REQUEST;
114 SendPapCode(struct authinfo *authp, int code, const char *message)
121 lh.code = code;
136 log_Printf(LogPHASE, "Pap Output: %s\n", papcodes[code]);
207 if (authp->in.hdr.code == 0 || authp->in.hdr.code > MAXPAPCODE) {
208 log_Printf(LogPHASE, "Pap Input: %d: Bad PAP code !\n", authp->in.hdr.code);
213 if (authp->in.hdr.code != PAP_REQUEST && authp->id != authp->in.hdr.id &&
217 papcodes[authp->in.hdr.code], authp->in.hdr.id, authp->id);
226 if (authp->in.hdr.code == PAP_ACK) {
246 papcodes[authp->in.hdr.code], txtlen, txt);
248 switch (authp->in.hdr.code) {