Lines Matching refs:fsm
28 * $FreeBSD: releng/10.2/usr.sbin/ppp/fsm.c 134833 2004-09-06 00:07:58Z marcel $
47 #include "fsm.h"
71 static void FsmSendConfigReq(struct fsm *);
72 static void FsmSendTerminateReq(struct fsm *);
73 static void FsmInitRestartCounter(struct fsm *, int);
75 typedef void (recvfn)(struct fsm *, struct fsmheader *, struct mbuf *);
129 struct fsm *fp = (struct fsm *)v;
142 fsm_Init(struct fsm *fp, const char *name, u_short proto, int mincode,
169 NewState(struct fsm *fp, int new)
188 fsm_Output(struct fsm *fp, u_int code, u_int id, u_char *ptr, unsigned count,
229 struct fsm *fp = (struct fsm *)v;
255 fsm_Open(struct fsm *fp)
293 fsm_Up(struct fsm *fp)
314 fsm_Down(struct fsm *fp)
346 fsm_Close(struct fsm *fp)
383 FsmSendConfigReq(struct fsm *fp)
398 FsmSendTerminateReq(struct fsm *fp)
412 struct fsm *fp = (struct fsm *)v;
454 FsmInitRestartCounter(struct fsm *fp, int what)
466 FsmRecvConfigReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
504 if (fp->proto == PROTO_CCP && fp->link->lcp.fsm.state == ST_OPENED) {
609 FsmRecvConfigAck(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
672 FsmRecvConfigNak(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
738 FsmRecvTermReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
774 FsmRecvTermAck(struct fsm *fp, struct fsmheader *lhp __unused, struct mbuf *bp)
802 FsmRecvConfigRej(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
870 FsmRecvCodeRej(struct fsm *fp __unused, struct fsmheader *lhp __unused,
877 FsmRecvProtoRej(struct fsm *fp, struct fsmheader *lhp __unused, struct mbuf *bp)
901 fp = &fp->link->ccp.fsm;
921 fsm_Close(&fp->bundle->ncp.ipcp.fsm);
929 fsm_Close(&fp->bundle->ncp.ipv6cp.fsm);
949 FsmRecvEchoReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
977 FsmRecvEchoRep(struct fsm *fp, struct fsmheader *lhp __unused, struct mbuf *bp)
986 FsmRecvDiscReq(struct fsm *fp __unused, struct fsmheader *lhp __unused,
993 FsmRecvIdent(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
1015 FsmRecvTimeRemain(struct fsm *fp __unused, struct fsmheader *lhp __unused,
1022 FsmRecvResetReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
1037 FsmRecvResetAck(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
1044 fsm_Input(struct fsm *fp, struct mbuf *bp)
1098 fsm_NullRecvResetReq(struct fsm *fp)
1106 fsm_NullRecvResetAck(struct fsm *fp, u_char id __unused)
1113 fsm_Reopen(struct fsm *fp)
1125 fsm2initial(struct fsm *fp)