fsm.h (d91d286164db7f10f516a9d0bca0a3527e864714) fsm.h (09206a6f2a9728d53ca1ba4272ae7f4f02b67fac)
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
18 * $Id: fsm.h,v 1.16.2.16 1998/05/01 19:24:35 brian Exp $
18 * $Id: fsm.h,v 1.17 1998/05/21 21:45:26 brian Exp $
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

--- 120 unchanged lines hidden (view full) ---

147 struct bundle *, struct link *, const struct fsm_parent *,
148 struct fsm_callbacks *, const char *[3]);
149extern void fsm_Output(struct fsm *, u_int, u_int, u_char *, int);
150extern void fsm_Open(struct fsm *);
151extern void fsm_Up(struct fsm *);
152extern void fsm_Down(struct fsm *);
153extern void fsm_Input(struct fsm *, struct mbuf *);
154extern void fsm_Close(struct fsm *);
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

--- 120 unchanged lines hidden (view full) ---

147 struct bundle *, struct link *, const struct fsm_parent *,
148 struct fsm_callbacks *, const char *[3]);
149extern void fsm_Output(struct fsm *, u_int, u_int, u_char *, int);
150extern void fsm_Open(struct fsm *);
151extern void fsm_Up(struct fsm *);
152extern void fsm_Down(struct fsm *);
153extern void fsm_Input(struct fsm *, struct mbuf *);
154extern void fsm_Close(struct fsm *);
155extern void fsm_NullRecvResetReq(struct fsm *fp);
156extern void fsm_NullRecvResetAck(struct fsm *fp, u_char);
155extern void fsm_NullRecvResetReq(struct fsm *);
156extern void fsm_NullRecvResetAck(struct fsm *, u_char);
157extern void fsm2initial(struct fsm *);
157extern const char *State2Nam(u_int);
158extern const char *State2Nam(u_int);