Searched refs:fsm (Results 1 - 25 of 53) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dfsm.h2 * 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 *));
95 __P((fsm *, u_cha
[all...]
H A Decp.h39 extern fsm ecp_fsm[];
H A Dccp.h46 extern fsm ccp_fsm[];
H A Dipv6cp.h165 extern fsm ipv6cp_fsm[];
H A Dfsm.c2 * 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_cha
[all...]
H A Dipcp.h88 extern fsm ipcp_fsm[];
H A Dipxcp.h88 extern fsm ipxcp_fsm[];
H A Decp.c67 #include "fsm.h"
118 fsm ecp_fsm[NUM_PPP];
149 fsm *f = &ecp_fsm[unit];
H A Dlcp.c54 #include "fsm.h"
66 /* steal a bit in fsm flags word */
190 fsm lcp_fsm[NUM_PPP]; /* LCP fsm structure (global)*/
209 * Callbacks for fsm code. (CI = Configuration Information)
211 static void lcp_resetci __P((fsm *)); /* Reset our CI */
212 static int lcp_cilen __P((fsm *)); /* Return length of our CI */
213 static void lcp_addci __P((fsm *, u_char *, int *)); /* Add our CI to pkt */
214 static int lcp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
215 static int lcp_nakci __P((fsm *, u_cha
[all...]
H A Dipv6cp.c164 #include "fsm.h"
183 * Callbacks for fsm code. (CI = Configuration Information)
185 static void ipv6cp_resetci __P((fsm *)); /* Reset our CI */
186 static int ipv6cp_cilen __P((fsm *)); /* Return length of our CI */
187 static void ipv6cp_addci __P((fsm *, u_char *, int *)); /* Add our CI */
188 static int ipv6cp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
189 static int ipv6cp_nakci __P((fsm *, u_char *, int, int));/* Peer nak'd our CI */
190 static int ipv6cp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
191 static int ipv6cp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv CI */
192 static void ipv6cp_up __P((fsm *)); /* W
[all...]
H A Dccp.c37 #include "fsm.h"
199 fsm ccp_fsm[NUM_PPP];
206 * Callbacks for fsm code.
208 static void ccp_resetci __P((fsm *));
209 static int ccp_cilen __P((fsm *));
210 static void ccp_addci __P((fsm *, u_char *, int *));
211 static int ccp_ackci __P((fsm *, u_char *, int));
212 static int ccp_nakci __P((fsm *, u_char *, int, int));
213 static int ccp_rejci __P((fsm *, u_char *, int));
214 static int ccp_reqci __P((fsm *, u_cha
[all...]
H A Dipxcp.c60 #include "fsm.h"
79 * Callbacks for fsm code. (CI = Configuration Information)
81 static void ipxcp_resetci __P((fsm *)); /* Reset our CI */
82 static int ipxcp_cilen __P((fsm *)); /* Return length of our CI */
83 static void ipxcp_addci __P((fsm *, u_char *, int *)); /* Add our CI */
84 static int ipxcp_ackci __P((fsm *, u_char *, int)); /* Peer ack'd our CI */
85 static int ipxcp_nakci __P((fsm *, u_char *, int, int));/* Peer nak'd our CI */
86 static int ipxcp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
87 static int ipxcp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv CI */
88 static void ipxcp_up __P((fsm *)); /* W
[all...]
H A DMakefile.sol211 OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dfsm.c1 /* $Id: fsm.c,v 1.1.1.1 2007/08/03 18:52:35 Exp $
24 FsmNew(struct Fsm *fsm, struct FsmNode *fnlist, int fncount) argument
28 fsm->jumpmatrix = (FSMFNPTR *)
29 kzalloc(sizeof (FSMFNPTR) * fsm->state_count * fsm->event_count, GFP_KERNEL);
30 if (!fsm->jumpmatrix)
34 if ((fnlist[i].state>=fsm->state_count) || (fnlist[i].event>=fsm->event_count)) {
36 i,(long)fnlist[i].state,(long)fsm->state_count,
37 (long)fnlist[i].event,(long)fsm
45 FsmFree(struct Fsm *fsm) argument
[all...]
H A Dst5481_d.c231 FsmEvent(&adapter->d_out.fsm, EV_DOUT_STOPPED, NULL);
246 if (d_out->fsm.state != ST_DOUT_NORMAL)
272 FsmChangeState(&d_out->fsm, ST_DOUT_WAIT_FOR_UNDERRUN);
314 FsmEvent(&adapter->d_out.fsm, EV_DOUT_RESETED, NULL);
345 FsmEvent(&adapter->d_out.fsm, EV_DOUT_COMPLETE, (void *) buf_nr);
350 static void dout_start_xmit(struct FsmInst *fsm, int event, void *arg) argument
352 struct st5481_adapter *adapter = fsm->userdata;
378 FsmChangeState(&d_out->fsm, ST_DOUT_SHORT_INIT);
380 FsmChangeState(&d_out->fsm, ST_DOUT_LONG_INIT);
403 static void dout_short_fifo(struct FsmInst *fsm, in argument
412 dout_end_short_frame(struct FsmInst *fsm, int event, void *arg) argument
420 dout_long_enable_fifo(struct FsmInst *fsm, int event, void *arg) argument
429 dout_long_den(struct FsmInst *fsm, int event, void *arg) argument
439 dout_reset(struct FsmInst *fsm, int event, void *arg) argument
448 dout_stop(struct FsmInst *fsm, int event, void *arg) argument
457 dout_underrun(struct FsmInst *fsm, int event, void *arg) argument
469 dout_check_busy(struct FsmInst *fsm, int event, void *arg) argument
478 dout_reseted(struct FsmInst *fsm, int event, void *arg) argument
488 dout_complete(struct FsmInst *fsm, int event, void *arg) argument
496 dout_ignore(struct FsmInst *fsm, int event, void *arg) argument
[all...]
H A Dfsm.h1 /* $Id: fsm.h,v 1.1.1.1 2007/08/03 18:52:35 Exp $
30 struct Fsm *fsm; member in struct:FsmInst
50 int FsmNew(struct Fsm *fsm, struct FsmNode *fnlist, int fncount);
51 void FsmFree(struct Fsm *fsm);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/doc/
H A DMakefile.am21 libgcrypt-modules.eps fips-fsm.eps \
22 libgcrypt-modules.png fips-fsm.png \
23 libgcrypt-modules.pdf fips-fsm.pdf
27 BUILT_SOURCES = libgcrypt-modules.eps fips-fsm.eps \
28 libgcrypt-modules.png fips-fsm.png \
29 libgcrypt-modules.pdf fips-fsm.pdf
32 gcrypt_TEXINFOS = lgpl.texi gpl.texi libgcrypt-modules.fig fips-fsm.fig
58 cp fips-fsm.png gcrypt.html/; \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A DMakefile7 obj-$(CONFIG_NETIUCV) += netiucv.o fsm.o
9 obj-$(CONFIG_CTC) += ctc.o fsm.o cu3088.o
H A Dctcmain.c67 #include "fsm.h"
521 fsm_event(ch->fsm, CH_EVENT_IO_SUCCESS, ch);
525 fsm_event(ch->fsm, CH_EVENT_IO_EBUSY, ch);
530 fsm_event(ch->fsm, CH_EVENT_IO_ENODEV, ch);
535 fsm_event(ch->fsm, CH_EVENT_IO_EIO, ch);
540 fsm_event(ch->fsm, CH_EVENT_IO_UNKNOWN, ch);
558 fsm_event(ch->fsm, CH_EVENT_UC_RCRESET, ch);
561 fsm_event(ch->fsm, CH_EVENT_UC_RSRESET, ch);
567 fsm_event(ch->fsm, CH_EVENT_UC_HWFAIL, ch);
571 fsm_event(ch->fsm, CH_EVENT_UC_RXPARIT
[all...]
H A Dnetiucv.c61 #include "fsm.h"
192 fsm_instance *fsm; member in struct:iucv_connection
220 fsm_instance *fsm; member in struct:netiucv_priv
507 fsm_event(conn->fsm, CONN_EVENT_RX, &ev);
518 fsm_event(conn->fsm, CONN_EVENT_TXDONE, &ev);
525 fsm_event(conn->fsm, CONN_EVENT_CONN_ACK, conn);
547 fsm_event(conn->fsm, CONN_EVENT_CONN_REQ, &ev);
558 fsm_event(conn->fsm, CONN_EVENT_CONN_REJ, conn);
565 fsm_event(conn->fsm, CONN_EVENT_CONN_SUS, conn);
572 fsm_event(conn->fsm, CONN_EVENT_CONN_RE
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/irda/
H A Dsir_dev.c30 /* substate handler of the config-fsm to handle the cases where we want
36 struct sir_fsm *fsm = &dev->fsm; local
41 next_state = fsm->substate; /* default: stay in current substate */
44 switch(fsm->substate) {
86 fsm->substate = next_state;
98 * On entry, fsm->sem is always locked and the netdev xmit queue stopped.
104 struct sir_dev *dev = container_of(work, struct sir_dev, fsm.work.work);
105 struct sir_fsm *fsm = &dev->fsm; local
281 struct sir_fsm *fsm = &dev->fsm; local
[all...]
H A Dmcp2120-sir.c100 unsigned state = dev->fsm.substate;
162 dev->fsm.substate = state;
186 unsigned state = dev->fsm.substate;
220 dev->fsm.substate = state;
H A Dgirbil-sir.c124 unsigned state = dev->fsm.substate;
186 dev->fsm.substate = state;
207 unsigned state = dev->fsm.substate;
248 dev->fsm.substate = state;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Dts_fsm.c140 struct ts_fsm *fsm = ts_config_priv(conf); local
164 strict = fsm->tokens[0].recur != TS_FSM_HEAD_IGNORE;
169 for (tok_idx = 0; tok_idx < fsm->ntokens; tok_idx++) {
170 cur = &fsm->tokens[tok_idx];
172 if (likely(tok_idx < (fsm->ntokens - 1)))
173 next = &fsm->tokens[tok_idx + 1];
264 struct ts_fsm *fsm; local
267 size_t priv_size = sizeof(*fsm) + len;
287 fsm = ts_config_priv(conf);
288 fsm
304 struct ts_fsm *fsm = ts_config_priv(conf); local
310 struct ts_fsm *fsm = ts_config_priv(conf); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cdrom/
H A Dcm206.c260 uch track, fsm[3], q0; member in struct:toc_struct
566 /* fsm: frame-sec-min from linear address; one of many */
567 static void fsm(int lba, uch * fsm) argument
569 fsm[0] = lba % 75;
572 fsm[1] = lba % 60;
573 fsm[2] = lba / 60;
576 static inline int fsm2lba(uch * fsm) argument
578 return fsm[0] + 75 * (fsm[
[all...]

Completed in 109 milliseconds

123