Lines Matching refs:fsm

69 #include "fsm.h"
946 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load)
950 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS);
953 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load)
957 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS);
1260 if (arg->cx->physical->link.lcp.fsm.state > ST_CLOSED) {
1262 State2Nam(arg->cx->physical->link.lcp.fsm.state));
1294 if (cx->physical->link.lcp.fsm.state == ST_OPENED)
1295 fsm_Reopen(&cx->physical->link.lcp.fsm);
1301 struct fsm *fp;
1303 fp = &command_ChooseLink(arg)->ccp.fsm;
1304 if (fp->link->lcp.fsm.state != ST_OPENED)
1321 if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED)
1322 fsm_Reopen(&arg->bundle->ncp.ipcp.fsm);
1343 struct fsm *fp;
1345 fp = &command_ChooseLink(arg)->ccp.fsm;
1376 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm :
1377 &arg->bundle->ncp.mp.link.ccp.fsm;
1423 l->lcp.fsm.StoppedTimer.load = 0;
1424 l->ccp.fsm.StoppedTimer.load = 0;
1427 l->lcp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn]) * SECTICKS;
1429 l->ccp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn+1]) * SECTICKS;
2059 } else if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED) {
2081 &cx->physical->link.lcp.cfg.fsm.timeout,
2082 &cx->physical->link.lcp.cfg.fsm.maxreq,
2083 &cx->physical->link.lcp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2088 &cx->chap.auth.cfg.fsm.timeout,
2089 &cx->chap.auth.cfg.fsm.maxreq, NULL, DEF_FSMAUTHTRIES);
2094 &cx->pap.cfg.fsm.timeout, &cx->pap.cfg.fsm.maxreq,
2100 &l->ccp.cfg.fsm.timeout, &l->ccp.cfg.fsm.maxreq,
2101 &l->ccp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2106 &arg->bundle->ncp.ipcp.cfg.fsm.timeout,
2107 &arg->bundle->ncp.ipcp.cfg.fsm.maxreq,
2108 &arg->bundle->ncp.ipcp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2114 &arg->bundle->ncp.ipv6cp.cfg.fsm.timeout,
2115 &arg->bundle->ncp.ipv6cp.cfg.fsm.maxreq,
2116 &arg->bundle->ncp.ipv6cp.cfg.fsm.maxtrm, DEF_FSMTRIES);
2643 if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED)
2914 if (cx->physical->link.lcp.fsm.state == ST_OPENED)
3263 if (arg->bundle->ncp.ipcp.fsm.state == ST_OPENED &&
3304 how = arg->bundle->ncp.ipcp.fsm.state == ST_OPENED ||