Deleted Added
full compact
fsm.h (32658) fsm.h (32663)
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.14 1998/01/10 01:55:10 brian Exp $
18 * $Id: fsm.h,v 1.15 1998/01/20 22:47:37 brian Exp $
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

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

50 u_short proto; /* Protocol number */
51 u_short max_code;
52 int open_mode;
53 int state; /* State of the machine */
54 u_char reqid; /* Next request id */
55 int restart; /* Restart counter value */
56 int maxconfig;
57
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

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

50 u_short proto; /* Protocol number */
51 u_short max_code;
52 int open_mode;
53 int state; /* State of the machine */
54 u_char reqid; /* Next request id */
55 int restart; /* Restart counter value */
56 int maxconfig;
57
58 int reqcode; /* Request code sent */
59 struct pppTimer FsmTimer; /* Restart Timer */
60 struct pppTimer OpenTimer; /* Delay before opening */
61
62 /*
63 * This timer times the ST_STOPPED state out after the given value
64 * (specified via "set stopped ..."). Although this isn't specified in the
65 * rfc, the rfc *does* say that "the application may use higher level
66 * timers to avoid deadlock". The StoppedTimer takes effect when the other

--- 67 unchanged lines hidden ---
58 struct pppTimer FsmTimer; /* Restart Timer */
59 struct pppTimer OpenTimer; /* Delay before opening */
60
61 /*
62 * This timer times the ST_STOPPED state out after the given value
63 * (specified via "set stopped ..."). Although this isn't specified in the
64 * rfc, the rfc *does* say that "the application may use higher level
65 * timers to avoid deadlock". The StoppedTimer takes effect when the other

--- 67 unchanged lines hidden ---