Lines Matching refs:fsm

67 #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 *fp;
1301 fp = &command_ChooseLink(arg)->ccp.fsm;
1302 if (fp->link->lcp.fsm.state != ST_OPENED)
1319 if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED)
1320 fsm_Reopen(&arg->bundle->ncp.ipcp.fsm);
1341 struct fsm *fp;
1343 fp = &command_ChooseLink(arg)->ccp.fsm;
1374 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm :
1375 &arg->bundle->ncp.mp.link.ccp.fsm;
1421 l->lcp.fsm.StoppedTimer.load = 0;
1422 l->ccp.fsm.StoppedTimer.load = 0;
1425 l->lcp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn]) * SECTICKS;
1427 l->ccp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn+1]) * SECTICKS;
2057 } else if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED) {
2079 &cx->physical->link.lcp.cfg.fsm.timeout,
2080 &cx->physical->link.lcp.cfg.fsm.maxreq,
2081 &cx->physical->link.lcp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2086 &cx->chap.auth.cfg.fsm.timeout,
2087 &cx->chap.auth.cfg.fsm.maxreq, NULL, DEF_FSMAUTHTRIES);
2092 &cx->pap.cfg.fsm.timeout, &cx->pap.cfg.fsm.maxreq,
2098 &l->ccp.cfg.fsm.timeout, &l->ccp.cfg.fsm.maxreq,
2099 &l->ccp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2104 &arg->bundle->ncp.ipcp.cfg.fsm.timeout,
2105 &arg->bundle->ncp.ipcp.cfg.fsm.maxreq,
2106 &arg->bundle->ncp.ipcp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2112 &arg->bundle->ncp.ipv6cp.cfg.fsm.timeout,
2113 &arg->bundle->ncp.ipv6cp.cfg.fsm.maxreq,
2114 &arg->bundle->ncp.ipv6cp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2641 if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED)
2912 if (cx->physical->link.lcp.fsm.state == ST_OPENED)
3261 if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED &&
3302 how = arg->bundle->ncp.ipcp.fsm.state == ST_OPENED ||