Lines Matching refs:chap_state

140 chap_state chap[NUM_PPP]; /* CHAP state; one for each unit */
144 static void ChapReceiveChallenge (chap_state *, u_char *, u_char, int);
146 static void ChapReceiveResponse (chap_state *, u_char *, int, int);
147 static void ChapReceiveSuccess(chap_state *cstate, u_char *inp, u_char id, int len);
148 static void ChapReceiveFailure(chap_state *cstate, u_char *inp, u_char id, int len);
149 static void ChapSendStatus (chap_state *, int);
150 static void ChapSendChallenge (chap_state *);
151 static void ChapSendResponse (chap_state *);
152 static void ChapGenChallenge (chap_state *);
160 chap_state *cstate = &chap[unit]; in ChapInit()
179 chap_state *cstate = &chap[unit]; in ChapAuthWithPeer()
206 chap_state *cstate = &chap[unit]; in ChapAuthPeer()
230 chap_state *cstate = (chap_state *) arg; in ChapChallengeTimeout()
257 chap_state *cstate = (chap_state *) arg; in ChapResponseTimeout()
274 chap_state *cstate = (chap_state *) arg; in ChapRechallenge()
295 chap_state *cstate = &chap[unit]; in ChapLowerUp()
321 chap_state *cstate = &chap[unit]; in ChapLowerDown()
345 chap_state *cstate = &chap[unit]; in ChapProtocolReject()
365 chap_state *cstate = &chap[unit]; in ChapInput()
423 ChapReceiveChallenge(chap_state *cstate, u_char *inp, u_char id, int len) in ChapReceiveChallenge()
521 ChapReceiveResponse(chap_state *cstate, u_char *inp, int id, int len) in ChapReceiveResponse()
640 ChapReceiveSuccess(chap_state *cstate, u_char *inp, u_char id, int len) in ChapReceiveSuccess()
678 ChapReceiveFailure(chap_state *cstate, u_char *inp, u_char id, int len) in ChapReceiveFailure()
710 ChapSendChallenge(chap_state *cstate) in ChapSendChallenge()
746 ChapSendStatus(chap_state *cstate, int code) in ChapSendStatus()
782 ChapGenChallenge(chap_state *cstate) in ChapGenChallenge()
811 ChapSendResponse(chap_state *cstate) in ChapSendResponse()