Deleted Added
full compact
fsm.h (37060) fsm.h (37160)
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.17 1998/05/21 21:45:26 brian Exp $
18 * $Id: fsm.h,v 1.18 1998/06/20 00:19:38 brian Exp $
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

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

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 *);
156extern void fsm_NullRecvResetAck(struct fsm *, u_char);
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

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

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 *);
156extern void fsm_NullRecvResetAck(struct fsm *, u_char);
157extern void fsm_Reopen(struct fsm *);
157extern void fsm2initial(struct fsm *);
158extern const char *State2Nam(u_int);
158extern void fsm2initial(struct fsm *);
159extern const char *State2Nam(u_int);