/external/ppp/pppd/ |
fsm.h | 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 { struct 84 } fsm; typedef in typeref:struct:fsm 89 __P((fsm *)); 91 __P((fsm *)); 93 __P((fsm *, u_char *, int *)) [all...] |
ecp.h | 39 extern fsm ecp_fsm[];
|
ccp.h | 46 extern fsm ccp_fsm[];
|
ipv6cp.h | 165 extern fsm ipv6cp_fsm[];
|
fsm.c | 2 * fsm.c - {Link, IP} Control Protocol Finite State Machine. 43 #define RCSID "$Id: fsm.c,v 1.23 2004/11/13 02:28:15 paulus Exp $" 47 * Randomize fsm id on link/init. 56 #include "fsm.h" 61 static void fsm_rconfreq __P((fsm *, int, u_char *, int)); 62 static void fsm_rconfack __P((fsm *, int, u_char *, int)); 63 static void fsm_rconfnakrej __P((fsm *, int, int, u_char *, int)); 64 static void fsm_rtermreq __P((fsm *, int, u_char *, int)); 65 static void fsm_rtermack __P((fsm *)); 66 static void fsm_rcoderej __P((fsm *, u_char *, int)) [all...] |
ipcp.h | 88 extern fsm ipcp_fsm[];
|
ipxcp.h | 88 extern fsm ipxcp_fsm[];
|
Android.mk | 7 fsm.c \
|
ecp.c | 67 #include "fsm.h" 118 fsm ecp_fsm[NUM_PPP]; 149 fsm *f = &ecp_fsm[unit];
|
/external/libppp/src/ |
fsm.h | 28 * $FreeBSD: src/usr.sbin/ppp/fsm.h,v 1.29.14.1 2010/12/21 17:10:29 kensmith Exp $ 61 struct fsm; 64 u_int timeout; /* FSM retry frequency */ 76 int (*LayerUp)(struct fsm *); /* Layer is now up (tlu) */ 77 void (*LayerDown)(struct fsm *); /* About to come down (tld) */ 78 void (*LayerStart)(struct fsm *); /* Layer about to start (tls) */ 79 void (*LayerFinish)(struct fsm *); /* Layer now down (tlf) */ 80 void (*InitRestartCounter)(struct fsm *, int);/* Set fsm timer load */ 81 void (*SendConfigReq)(struct fsm *); /* Send REQ please * 101 struct fsm { struct [all...] |
cbcp.c | 46 #include "fsm.h" 66 cbcp->fsm.state = CBCP_CLOSED; 67 cbcp->fsm.id = 0; 68 cbcp->fsm.delay = 0; 69 *cbcp->fsm.phone = '\0'; 70 memset(&cbcp->fsm.timer, '\0', sizeof cbcp->fsm.timer); 83 timer_Stop(&cbcp->fsm.timer); 84 if (cbcp->fsm.restart) { 85 switch (cbcp->fsm.state) [all...] |
ccp.h | 81 struct fsm_retry fsm; /* How often/frequently to resend requests */ member in struct:ccp_config 92 struct fsm fsm; /* The finite state machine */ member in struct:ccp 127 int (*Usable)(struct fsm *); /* Ok to negotiate ? */ 128 int (*Required)(struct fsm *); /* Must negotiate ? */ 156 extern void ccp_SendResetReq(struct fsm *); 162 extern int ccp_DefaultUsable(struct fsm *); 163 extern int ccp_DefaultRequired(struct fsm *);
|
ccp.c | 50 #include "fsm.h" 80 static void CcpSendConfigReq(struct fsm *); 81 static void CcpSentTerminateReq(struct fsm *); 82 static void CcpSendTerminateAck(struct fsm *, u_char); 83 static void CcpDecodeConfig(struct fsm *, u_char *, u_char *, int, 85 static void CcpLayerStart(struct fsm *); 86 static void CcpLayerFinish(struct fsm *); 87 static int CcpLayerUp(struct fsm *); 88 static void CcpLayerDown(struct fsm *); 89 static void CcpInitRestartCounter(struct fsm *, int) [all...] |
lqr.h | 66 struct fsm; 79 extern struct mbuf *lqr_RecvEcho(struct fsm *, struct mbuf *);
|
ipv6cp.h | 38 struct fsm fsm; /* The finite state machine */ member in struct:ipv6cp 41 struct fsm_retry fsm; /* frequency to resend requests */ member in struct:ipv6cp::__anon22826
|
ncp.c | 50 #include "fsm.h" 119 &bundle->fsm); 122 &bundle->fsm); 160 fsm_Up(&ncp->ipcp.fsm); 161 fsm_Open(&ncp->ipcp.fsm); 167 fsm_Up(&ncp->ipv6cp.fsm); 168 fsm_Open(&ncp->ipv6cp.fsm); 348 struct bundle *bundle = l->lcp.fsm.bundle; 500 n = !!(ncp->ipcp.fsm.state == ST_OPENED); 502 n += !!(ncp->ipv6cp.fsm.state == ST_OPENED) [all...] |
ipv6cp.c | 51 #include "fsm.h" 91 static int ipv6cp_LayerUp(struct fsm *); 92 static void ipv6cp_LayerDown(struct fsm *); 93 static void ipv6cp_LayerStart(struct fsm *); 94 static void ipv6cp_LayerFinish(struct fsm *); 95 static void ipv6cp_InitRestartCounter(struct fsm *, int); 96 static void ipv6cp_SendConfigReq(struct fsm *); 97 static void ipv6cp_SentTerminateReq(struct fsm *); 98 static void ipv6cp_SendTerminateAck(struct fsm *, u_char); 99 static void ipv6cp_DecodeConfig(struct fsm *, u_char *, u_char *, int [all...] |
ipcp.h | 46 struct fsm fsm; /* The finite state machine */ member in struct:ipcp 69 struct fsm_retry fsm; /* frequency to resend requests */ member in struct:ipcp::__anon22821
|
lcp.h | 50 struct fsm fsm; /* The finite state machine */ member in struct:lcp 92 struct fsm_retry fsm; /* How often/frequently to resend requests */ member in struct:lcp::__anon22827
|
cbcp.h | 33 /* fsm states */ 54 int state; /* Our FSM state */ 55 u_char id; /* Our FSM ID */ 56 u_char restart; /* FSM Send again ? */ 58 } fsm; member in struct:cbcp
|
fsm.c | 28 * $FreeBSD: src/usr.sbin/ppp/fsm.c,v 1.71.26.1 2010/12/21 17:10:29 kensmith Exp $ 47 #include "fsm.h" 71 static void FsmSendConfigReq(struct fsm *); 72 static void FsmSendTerminateReq(struct fsm *); 73 static void FsmInitRestartCounter(struct fsm *, int); 75 typedef void (recvfn)(struct fsm *, struct fsmheader *, struct mbuf *); 129 struct fsm *fp = (struct fsm *)v; 142 fsm_Init(struct fsm *fp, const char *name, u_short proto, int mincode, 169 NewState(struct fsm *fp, int new [all...] |
ipcp.c | 67 #include "fsm.h" 110 static int IpcpLayerUp(struct fsm *); 111 static void IpcpLayerDown(struct fsm *); 112 static void IpcpLayerStart(struct fsm *); 113 static void IpcpLayerFinish(struct fsm *); 114 static void IpcpInitRestartCounter(struct fsm *, int); 115 static void IpcpSendConfigReq(struct fsm *); 116 static void IpcpSentTerminateReq(struct fsm *); 117 static void IpcpSendTerminateAck(struct fsm *, u_char); 118 static void IpcpDecodeConfig(struct fsm *, u_char *, u_char *, int [all...] |
lcp.c | 53 #include "fsm.h" 90 static int LcpLayerUp(struct fsm *); 91 static void LcpLayerDown(struct fsm *); 92 static void LcpLayerStart(struct fsm *); 93 static void LcpLayerFinish(struct fsm *); 94 static void LcpInitRestartCounter(struct fsm *, int); 95 static void LcpSendConfigReq(struct fsm *); 96 static void LcpSentTerminateReq(struct fsm *); 97 static void LcpSendTerminateAck(struct fsm *, u_char); 98 static void LcpDecodeConfig(struct fsm *, u_char *, u_char *, int [all...] |
/external/chromium_org/third_party/pexpect/ |
ANSI.py | 30 import FSM 37 def DoEmit (fsm): 39 screen = fsm.memory[0] 40 screen.write_ch(fsm.input_symbol) 42 def DoStartNumber (fsm): 44 fsm.memory.append (fsm.input_symbol) 46 def DoBuildNumber (fsm): 48 ns = fsm.memory.pop() 49 ns = ns + fsm.input_symbo [all...] |
FSM.py | 3 """This module implements a Finite State Machine (FSM). In addition to state 4 this FSM also maintains a user defined "memory". So this FSM can be used as a 5 Push-down Automata (PDA) since a PDA is a FSM + memory. 7 The following describes how the FSM works, but you will probably also need to 8 see the example function to understand how the FSM is used in practice. 10 You define an FSM by building tables of transitions. For a given input symbol 12 the next state will be. The FSM has a table of transitions that associate: 18 to the transition table. The FSM also has a table of transitions that 24 FSM also has one default transition that is not associated with any specifi [all...] |