Lines Matching refs:fsm
28 * $FreeBSD: releng/10.2/usr.sbin/ppp/fsm.h 165777 2007-01-05 00:33:00Z ticso $
61 struct fsm;
76 int (*LayerUp)(struct fsm *); /* Layer is now up (tlu) */
77 void (*LayerDown)(struct fsm *); /* About to come down (tld) */
78 void (*LayerStart)(struct fsm *); /* Layer about to start (tls) */
79 void (*LayerFinish)(struct fsm *); /* Layer now down (tlf) */
80 void (*InitRestartCounter)(struct fsm *, int);/* Set fsm timer load */
81 void (*SendConfigReq)(struct fsm *); /* Send REQ please */
82 void (*SentTerminateReq)(struct fsm *); /* Term REQ just sent */
83 void (*SendTerminateAck)(struct fsm *, u_char); /* Send Term ACK please */
84 void (*DecodeConfig)(struct fsm *, u_char *, u_char *, int,
86 int (*RecvResetReq)(struct fsm *fp); /* Reset output */
87 void (*RecvResetAck)(struct fsm *fp, u_char); /* Reset input */
91 void (*LayerStart) (void *, struct fsm *); /* tls */
92 void (*LayerUp) (void *, struct fsm *); /* tlu */
93 void (*LayerDown) (void *, struct fsm *); /* tld */
94 void (*LayerFinish) (void *, struct fsm *); /* tlf */
101 struct fsm {
183 extern void fsm_Init(struct fsm *, const char *, u_short, int, int, int,
186 extern void fsm_Output(struct fsm *, u_int, u_int, u_char *, unsigned, int);
187 extern void fsm_Open(struct fsm *);
188 extern void fsm_Up(struct fsm *);
189 extern void fsm_Down(struct fsm *);
190 extern void fsm_Input(struct fsm *, struct mbuf *);
191 extern void fsm_Close(struct fsm *);
192 extern int fsm_NullRecvResetReq(struct fsm *);
193 extern void fsm_NullRecvResetAck(struct fsm *, u_char);
194 extern void fsm_Reopen(struct fsm *);
195 extern void fsm2initial(struct fsm *);