fsm.h (31343) | fsm.h (31514) |
---|---|
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.11 1997/10/26 01:02:39 brian Exp $ | 18 * $Id: fsm.h,v 1.12 1997/11/22 03:37:32 brian Exp $ |
19 * 20 * TODO: 21 */ 22 23/* 24 * State of machine 25 */ 26#define ST_INITIAL 0 --- 9 unchanged lines hidden (view full) --- 36 37#define ST_MAX 10 38#define ST_UNDEF -1 39 40#define MODE_REQ 0 41#define MODE_NAK 1 42#define MODE_REJ 2 43#define MODE_NOP 3 | 19 * 20 * TODO: 21 */ 22 23/* 24 * State of machine 25 */ 26#define ST_INITIAL 0 --- 9 unchanged lines hidden (view full) --- 36 37#define ST_MAX 10 38#define ST_UNDEF -1 39 40#define MODE_REQ 0 41#define MODE_NAK 1 42#define MODE_REJ 2 43#define MODE_NOP 3 |
44#define MODE_ACK 4 /* pseudo mode for ccp negotiations */ |
|
44 45#define OPEN_ACTIVE 0 46#define OPEN_PASSIVE 1 47 48struct fsm { 49 const char *name; /* Name of protocol */ 50 u_short proto; /* Protocol number */ 51 u_short max_code; --- 81 unchanged lines hidden --- | 45 46#define OPEN_ACTIVE 0 47#define OPEN_PASSIVE 1 48 49struct fsm { 50 const char *name; /* Name of protocol */ 51 u_short proto; /* Protocol number */ 52 u_short max_code; --- 81 unchanged lines hidden --- |