Lines Matching refs:fsm
54 #include "fsm.h"
66 /* steal a bit in fsm flags word */
190 fsm lcp_fsm[NUM_PPP]; /* LCP fsm structure (global)*/
203 * Callbacks for fsm code. (CI = Configuration Information)
205 static void lcp_resetci __P((fsm *)); /* Reset our CI */
206 static int lcp_cilen __P((fsm *)); /* Return length of our CI */
207 static void lcp_addci __P((fsm *, u_char *, int *)); /* Add our CI to pkt */
208 static int lcp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
209 static int lcp_nakci __P((fsm *, u_char *, int, int)); /* Peer nak'd our CI */
210 static int lcp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
211 static int lcp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv peer CI */
212 static void lcp_up __P((fsm *)); /* We're UP */
213 static void lcp_down __P((fsm *)); /* We're DOWN */
214 static void lcp_starting __P((fsm *)); /* We need lower layer up */
215 static void lcp_finished __P((fsm *)); /* We need lower layer down */
216 static int lcp_extcode __P((fsm *, int, int, u_char *, int));
217 static void lcp_rprotrej __P((fsm *, u_char *, int));
226 static void lcp_received_echo_reply __P((fsm *, int, u_char *, int));
227 static void LcpSendEchoRequest __P((fsm *));
228 static void LcpLinkFailure __P((fsm *));
229 static void LcpEchoCheck __P((fsm *));
239 lcp_up, /* Called when fsm reaches OPENED state */
240 lcp_down, /* Called when fsm leaves OPENED state */
339 fsm *f = &lcp_fsm[unit];
379 fsm *f = &lcp_fsm[unit];
399 fsm *f = &lcp_fsm[unit];
405 * This action is not strictly according to the FSM in RFC1548,
426 fsm *f = &lcp_fsm[unit];
454 fsm *f = &lcp_fsm[unit];
470 fsm *f = arg;
488 fsm *f = &lcp_fsm[unit];
503 fsm *f;
544 fsm *f;
623 fsm *f;
649 fsm *f;
685 fsm *f;
773 fsm *f;
928 fsm *f;
1322 fsm *f;
1481 fsm *f;
1872 fsm *f;
1923 fsm *f;
1944 fsm *f;
1955 fsm *f;
2196 fsm *f;
2212 fsm *f;
2237 LcpEchoCheck ((fsm *) arg);
2247 fsm *f;
2276 fsm *f;
2311 fsm *f = &lcp_fsm[unit];
2331 fsm *f = &lcp_fsm[unit];