Lines Matching refs:fsm

218 static void lcp_resetci(fsm *f);	/* Reset our CI */
219 static int lcp_cilen(fsm *f); /* Return length of our CI */
220 static void lcp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI to pkt */
221 static int lcp_ackci(fsm *f, u_char *p, int len); /* Peer ack'd our CI */
222 static int lcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject); /* Peer nak'd our CI */
223 static int lcp_rejci(fsm *f, u_char *p, int len); /* Peer rej'd our CI */
224 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree); /* Rcv peer CI */
225 static void lcp_up(fsm *f); /* We're UP */
226 static void lcp_down(fsm *f); /* We're DOWN */
227 static void lcp_starting (fsm *); /* We need lower layer up */
228 static void lcp_finished (fsm *); /* We need lower layer down */
229 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len);
230 static void lcp_rprotrej(fsm *f, u_char *inp, int len);
239 static void lcp_received_echo_reply(fsm *f, int id, u_char *inp, int len);
240 static void LcpSendEchoRequest(fsm *f);
241 static void LcpLinkFailure(fsm *f);
242 static void LcpEchoCheck(fsm *f);
364 fsm *f = &pcb->lcp_fsm; in lcp_init()
407 fsm *f = &pcb->lcp_fsm; in lcp_open()
423 fsm *f = &pcb->lcp_fsm; in lcp_close()
459 fsm *f = &pcb->lcp_fsm; in lcp_lowerup()
483 fsm *f = &pcb->lcp_fsm; in lcp_lowerdown()
497 fsm *f = (fsm*)arg; in lcp_delayed_up()
510 fsm *f = &pcb->lcp_fsm; in lcp_input()
523 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len) { in lcp_extcode()
562 static void lcp_rprotrej(fsm *f, u_char *inp, int len) { in lcp_rprotrej()
633 fsm *f = &pcb->lcp_fsm; in lcp_sprotrej()
651 static void lcp_resetci(fsm *f) { in lcp_resetci()
770 static int lcp_cilen(fsm *f) { in lcp_cilen()
834 static void lcp_addci(fsm *f, u_char *ucp, int *lenp) { in lcp_addci()
947 static int lcp_ackci(fsm *f, u_char *p, int len) { in lcp_ackci()
1127 static int lcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in lcp_nakci()
1589 static int lcp_rejci(fsm *f, u_char *p, int len) { in lcp_rejci()
1820 static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) { in lcp_reqci()
2290 static void lcp_up(fsm *f) { in lcp_up()
2339 static void lcp_down(fsm *f) { in lcp_down()
2358 static void lcp_starting(fsm *f) { in lcp_starting()
2367 static void lcp_finished(fsm *f) { in lcp_finished()
2639 static void LcpLinkFailure(fsm *f) { in LcpLinkFailure()
2653 static void LcpEchoCheck(fsm *f) { in LcpEchoCheck()
2674 fsm *f = (fsm*)arg; in LcpEchoTimeout()
2678 LcpEchoCheck ((fsm *) arg); in LcpEchoTimeout()
2686 static void lcp_received_echo_reply(fsm *f, int id, u_char *inp, int len) { in lcp_received_echo_reply()
2712 static void LcpSendEchoRequest(fsm *f) { in LcpSendEchoRequest()
2765 fsm *f = &pcb->lcp_fsm; in lcp_echo_lowerup()
2782 fsm *f = &pcb->lcp_fsm; in lcp_echo_lowerdown()