Lines Matching refs:fsm
2 * fsm.h - {Link, IP} Control Protocol Finite State Machine definitions.
42 * $Id: fsm.h,v 1.10 2004/11/13 02:28:15 paulus Exp $
64 * Each FSM is described by an fsm structure and fsm callbacks.
66 typedef struct fsm {
84 } fsm;
89 __P((fsm *));
91 __P((fsm *));
93 __P((fsm *, u_char *, int *));
95 __P((fsm *, u_char *, int));
97 __P((fsm *, u_char *, int, int));
99 __P((fsm *, u_char *, int));
101 __P((fsm *, u_char *, int *, int));
102 void (*up) /* Called when fsm reaches OPENED state */
103 __P((fsm *));
104 void (*down) /* Called when fsm leaves OPENED state */
105 __P((fsm *));
107 __P((fsm *));
109 __P((fsm *));
113 __P((fsm *));
115 __P((fsm *, int, int, u_char *, int));
136 * Flags - indicate options controlling FSM operation
155 void fsm_init __P((fsm *));
156 void fsm_lowerup __P((fsm *));
157 void fsm_lowerdown __P((fsm *));
158 void fsm_open __P((fsm *));
159 void fsm_close __P((fsm *, char *));
160 void fsm_input __P((fsm *, u_char *, int));
161 void fsm_protreject __P((fsm *));
162 void fsm_sdata __P((fsm *, int, int, u_char *, int));