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

12

/freebsd-10.0-release/usr.sbin/ppp/
H A Dfsm.h61 struct fsm;
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 */
82 void (*SentTerminateReq)(struct fsm *); /* Term REQ just sent */
83 void (*SendTerminateAck)(struct fsm *, u_cha
101 struct fsm { struct
[all...]
H A Dcbcp.c46 #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
[all...]
H A Dccp.h81 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 *);
H A Dccp.c50 #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 *, in
[all...]
H A Dlqr.h66 struct fsm;
79 extern struct mbuf *lqr_RecvEcho(struct fsm *, struct mbuf *);
H A Dipv6cp.h38 struct fsm fsm; /* The finite state machine */ member in struct:ipv6cp
41 struct fsm_retry fsm; /* frequency to resend requests */ member in struct:ipv6cp::__anon11704
H A Dncp.c50 #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
[all...]
H A Dipv6cp.c51 #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_cha
[all...]
H A Dipcp.h46 struct fsm fsm; /* The finite state machine */ member in struct:ipcp
69 struct fsm_retry fsm; /* frequency to resend requests */ member in struct:ipcp::__anon11699
H A Dlcp.h50 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::__anon11705
H A Dcbcp.h33 /* fsm states */
58 } fsm; member in struct:cbcp
H A Dfsm.c47 #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)
188 fsm_Output(struct fsm *f
[all...]
H A Dipcp.c67 #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_cha
[all...]
H A Dlcp.c53 #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_cha
[all...]
H A Ddatalink.c49 #include "fsm.h"
129 log_Printf(LogPHASE, "Call peer back on %s\n", dl->cbcp.fsm.phone);
131 strncpy(dl->cfg.phone.list, dl->cbcp.fsm.phone,
143 /* if dial.timeout is < 0 (random), we don't override fsm.delay */
144 if (dl->cbcp.fsm.delay < dl->cfg.dial.timeout)
145 dl->cbcp.fsm.delay = dl->cfg.dial.timeout;
146 datalink_StartDialTimer(dl, dl->cbcp.fsm.delay);
245 fsm_Up(&dl->physical->link.lcp.fsm);
246 fsm_Open(&dl->physical->link.lcp.fsm);
560 datalink_LayerStart(void *v, struct fsm *f
[all...]
H A Dauth.h51 struct fsm_retry fsm; /* How often/frequently to resend requests */ member in struct:authinfo::__anon11655
H A Dlqr.c46 #include "fsm.h"
77 struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc;
83 fsm_Output(&lcp->fsm, CODE_ECHOREQ, hdlc->lqm.echo.seq_sent++,
88 lqr_RecvEcho(struct fsm *fp, struct mbuf *bp)
158 link_PushPacket(lcp->fsm.link, bp, lcp->fsm.bundle,
159 LINK_QUEUES(lcp->fsm.link) - 1, PROTO_LQR);
166 struct physical *p = link2physical(lcp->fsm.link);
174 lcp->fsm.link->name);
176 lcp->fsm
[all...]
H A Dphysical.c67 #include "fsm.h"
558 if (p->link.lcp.fsm.state <= ST_CLOSED) {
606 p->link.lcp.fsm.bundle = dl->bundle;
607 p->link.lcp.fsm.link = &p->link;
608 memset(&p->link.lcp.fsm.FsmTimer, '\0', sizeof p->link.lcp.fsm.FsmTimer);
609 memset(&p->link.lcp.fsm.OpenTimer, '\0', sizeof p->link.lcp.fsm.OpenTimer);
610 memset(&p->link.lcp.fsm.StoppedTimer, '\0',
611 sizeof p->link.lcp.fsm
[all...]
H A Dpred.c43 #include "fsm.h"
241 fsm_Reopen(&ccp->fsm);
250 fsm_Reopen(&ccp->fsm);
283 ccp->fsm.link->name, pre);
284 fsm_Reopen(&ccp->fsm);
H A Dauth.c57 #include "fsm.h"
408 authp->cfg.fsm.timeout = DEF_FSMRETRY;
409 authp->cfg.fsm.maxreq = DEF_FSMAUTHTRIES;
410 authp->cfg.fsm.maxtrm = 0; /* not used */
423 authp->authtimer.load = authp->cfg.fsm.timeout * SECTICKS;
425 authp->retry = authp->cfg.fsm.maxreq;
H A Dcommand.c67 #include "fsm.h"
944 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load)
948 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS);
951 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load)
955 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS);
1258 if (arg->cx->physical->link.lcp.fsm.state > ST_CLOSED) {
1260 State2Nam(arg->cx->physical->link.lcp.fsm.state));
1292 if (cx->physical->link.lcp.fsm.state == ST_OPENED)
1293 fsm_Reopen(&cx->physical->link.lcp.fsm);
1299 struct fsm *f
[all...]
H A Dmppe.c47 #include "fsm.h"
315 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0,
330 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0,
430 MPPEUsable(struct fsm *fp)
458 MPPERequired(struct fsm *fp)
H A DMakefile8 command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
/freebsd-10.0-release/sbin/iscontrol/
H A DMakefile3 SRCS= iscontrol.c pdu.c fsm.c config.c login.c auth_subr.c misc.c
H A Discontrol.h141 int fsm(isc_opt_t *op);

Completed in 263 milliseconds

12