chap_state
chap_state chap[NUM_PPP]; /* CHAP state; one for each unit */
static void ChapReceiveChallenge __P((chap_state *, u_char *, int, int));
static void ChapReceiveResponse __P((chap_state *, u_char *, int, int));
static void ChapReceiveSuccess __P((chap_state *, u_char *, int, int));
static void ChapReceiveFailure __P((chap_state *, u_char *, int, int));
static void ChapSendStatus __P((chap_state *, int));
static void ChapSendChallenge __P((chap_state *));
static void ChapSendResponse __P((chap_state *));
static void ChapGenChallenge __P((chap_state *));
chap_state *cstate = &chap[unit];
chap_state *cstate = &chap[unit];
chap_state *cstate = &chap[unit];
chap_state *cstate = (chap_state *) arg;
chap_state *cstate = (chap_state *) arg;
chap_state *cstate = (chap_state *) arg;
chap_state *cstate = &chap[unit];
chap_state *cstate = &chap[unit];
chap_state *cstate = &chap[unit];
chap_state *cstate = &chap[unit];
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
extern chap_state chap[];
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
chap_state *cstate;
void ChapMS __P((chap_state *, u_char *, int, char *, int));
void ChapMSv2 __P((chap_state *, u_char *, int, char *, int));
int ChapMSValidate __P((chap_state *cstate, u_char *response, int response_len,
int ChapMSv2Validate __P((chap_state *cstate, char *rhostname,
show_response(chap_state *cstate, const char *str)
chap_state cstate;