| /freebsd-14.2/usr.sbin/ppp/ |
| H A D | cbcp.c | 67 cbcp->fsm.id = 0; in cbcp_Init() 68 cbcp->fsm.delay = 0; in cbcp_Init() 70 memset(&cbcp->fsm.timer, '\0', sizeof cbcp->fsm.timer); in cbcp_Init() 266 cbcp->fsm.id, cbcpstate(cbcp->fsm.state)); in cbcp_SendReq() 308 cbcp->fsm.restart--; in cbcp_SendReq() 324 cbcp->fsm.phone[sizeof cbcp->fsm.phone - 1] = '\0'; in cbcp_Up() 486 cbcp->fsm.id, cbcpstate(cbcp->fsm.state)); in cbcp_SendResponse() 503 cbcp->fsm.restart--; in cbcp_SendResponse() 537 cbcp->fsm.phone[sizeof cbcp->fsm.phone - 1] = '\0'; in cbcp_CheckResponse() 593 cbcp->fsm.id, cbcpstate(cbcp->fsm.state)); in cbcp_SendAck() [all …]
|
| H A D | fsm.h | 61 struct fsm; 101 struct fsm { struct 187 extern void fsm_Open(struct fsm *); 188 extern void fsm_Up(struct fsm *); 189 extern void fsm_Down(struct fsm *); 190 extern void fsm_Input(struct fsm *, struct mbuf *); 191 extern void fsm_Close(struct fsm *); 192 extern int fsm_NullRecvResetReq(struct fsm *); 193 extern void fsm_NullRecvResetAck(struct fsm *, u_char); 194 extern void fsm_Reopen(struct fsm *); [all …]
|
| H A D | ccp.c | 195 ccp->cfg.fsm.maxreq, ccp->cfg.fsm.maxreq == 1 ? "" : "s", in ccp_ReportStatus() 196 ccp->cfg.fsm.maxtrm, ccp->cfg.fsm.maxtrm == 1 ? "" : "s"); in ccp_ReportStatus() 237 ccp->fsm.fn = &ccp_Callbacks; in ccp_SetupCallbacks() 274 ccp->fsm.open_mode = 0; in ccp_Setup() 423 CcpRecvResetReq(struct fsm *fp) in CcpRecvResetReq() 433 CcpLayerStart(struct fsm *fp) in CcpLayerStart() 443 CcpLayerDown(struct fsm *fp) in CcpLayerDown() 471 CcpLayerFinish(struct fsm *fp) in CcpLayerFinish() 498 CcpLayerUp(struct fsm *fp) in CcpLayerUp() 790 return !link2physical(ccp->fsm.link) || !ccp->fsm.bundle->ncp.mp.active ? in ccp_Proto() [all …]
|
| H A D | ipv6cp.c | 320 ipv6cp->fsm.link = l; in ipv6cp_SetLink() 342 ipv6cp->cfg.fsm.maxreq, ipv6cp->cfg.fsm.maxreq == 1 ? "" : "s", in ipv6cp_Show() 343 ipv6cp->cfg.fsm.maxtrm, ipv6cp->cfg.fsm.maxtrm == 1 ? "" : "s"); in ipv6cp_Show() 430 if (ipv6cp->fsm.state != ST_OPENED) in ipv6cp_PushPacket() 464 ipv6cp_LayerUp(struct fsm *fp) in ipv6cp_LayerUp() 520 ipv6cp_LayerDown(struct fsm *fp) in ipv6cp_LayerDown() 572 ipv6cp_LayerStart(struct fsm *fp) in ipv6cp_LayerStart() 585 ipv6cp_LayerFinish(struct fsm *fp) in ipv6cp_LayerFinish() 616 ipv6cp_SendConfigReq(struct fsm *fp) in ipv6cp_SendConfigReq() 717 fsm_Close(&ipv6cp->fsm); in ipv6cp_DecodeConfig() [all …]
|
| H A D | ccp.h | 81 struct fsm_retry fsm; /* How often/frequently to resend requests */ member 92 struct fsm fsm; /* The finite state machine */ member 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 D | ncp.c | 119 &bundle->fsm); in ncp_Init() 122 &bundle->fsm); in ncp_Init() 160 fsm_Up(&ncp->ipcp.fsm); in ncp_fsmStart() 161 fsm_Open(&ncp->ipcp.fsm); in ncp_fsmStart() 167 fsm_Up(&ncp->ipv6cp.fsm); in ncp_fsmStart() 168 fsm_Open(&ncp->ipv6cp.fsm); in ncp_fsmStart() 528 if (ncp->ipcp.fsm.state > ST_CLOSED || in ncp_LayersUnfinished() 546 fsm_Close(&ncp->ipcp.fsm); in ncp_Close() 551 fsm_Close(&ncp->ipv6cp.fsm); in ncp_Close() 558 fsm2initial(&ncp->ipcp.fsm); in ncp2initial() [all …]
|
| H A D | lcp.c | 203 lcp->cfg.fsm.maxreq, lcp->cfg.fsm.maxreq == 1 ? "" : "s", in lcp_ReportStatus() 204 lcp->cfg.fsm.maxtrm, lcp->cfg.fsm.maxtrm == 1 ? "" : "s"); in lcp_ReportStatus() 242 lcp->fsm.fn = &lcp_Callbacks; in lcp_SetupCallbacks() 290 lcp->fsm.open_mode = openmode; in lcp_Setup() 309 if (lcp->fsm.parent) { in lcp_Setup() 495 fsm_Output(&lcp->fsm, CODE_PROTOREJ, lcp->fsm.reqid, option, count, in lcp_SendProtoRej() 553 LcpLayerStart(struct fsm *fp) in LcpLayerStart() 565 LcpLayerFinish(struct fsm *fp) in LcpLayerFinish() 572 LcpLayerUp(struct fsm *fp) in LcpLayerUp() 590 LcpLayerDown(struct fsm *fp) in LcpLayerDown() [all …]
|
| H A D | fsm.c | 129 struct fsm *fp = (struct fsm *)v; in StoppedTimeout() 169 NewState(struct fsm *fp, int new) in NewState() 229 struct fsm *fp = (struct fsm *)v; in FsmOpenNow() 255 fsm_Open(struct fsm *fp) in fsm_Open() 293 fsm_Up(struct fsm *fp) in fsm_Up() 314 fsm_Down(struct fsm *fp) in fsm_Down() 346 fsm_Close(struct fsm *fp) in fsm_Close() 412 struct fsm *fp = (struct fsm *)v; in FsmTimeout() 901 fp = &fp->link->ccp.fsm; in FsmRecvProtoRej() 1113 fsm_Reopen(struct fsm *fp) in fsm_Reopen() [all …]
|
| H A D | ipcp.c | 377 ipcp->cfg.fsm.maxreq, ipcp->cfg.fsm.maxreq == 1 ? "" : "s", in ipcp_Show() 378 ipcp->cfg.fsm.maxtrm, ipcp->cfg.fsm.maxtrm == 1 ? "" : "s"); in ipcp_Show() 517 ipcp->fsm.link = l; in ipcp_SetLink() 529 ipcp->fsm.open_mode = 0; in ipcp_Setup() 583 || (ipcp->fsm.bundle->radius.valid && ipcp->fsm.bundle->radius.vj) in ipcp_Setup() 757 IpcpSendConfigReq(struct fsm *fp) in IpcpSendConfigReq() 819 IpcpLayerStart(struct fsm *fp) in IpcpLayerStart() 832 IpcpLayerFinish(struct fsm *fp) in IpcpLayerFinish() 867 IpcpLayerDown(struct fsm *fp) in IpcpLayerDown() 930 IpcpLayerUp(struct fsm *fp) in IpcpLayerUp() [all …]
|
| H A D | datalink.c | 699 if (*dl->cbcp.fsm.phone == '\0' || !strcmp(dl->cbcp.fsm.phone, "*")) { in datalink_AuthOk() 702 *dl->cbcp.fsm.phone = '\0'; in datalink_AuthOk() 711 dl->cbcp.fsm.delay = 0; in datalink_AuthOk() 720 dl->cbcp.fsm.phone[sizeof dl->cbcp.fsm.phone - 1] = '\0'; in datalink_AuthOk() 724 dl->cbcp.fsm.delay = 0; in datalink_AuthOk() 845 dl->parent = &bundle->fsm; in datalink_Create() 1351 dl->parent = &bundle->fsm; in iov2datalink() 1365 copy = dl->pap.cfg.fsm; in iov2datalink() 1367 dl->pap.cfg.fsm = copy; in iov2datalink() 1369 copy = dl->chap.auth.cfg.fsm; in iov2datalink() [all …]
|
| H A D | lqr.c | 77 struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc; in SendEchoReq() 88 lqr_RecvEcho(struct fsm *fp, struct mbuf *bp) in lqr_RecvEcho() 158 link_PushPacket(lcp->fsm.link, bp, lcp->fsm.bundle, in SendLqrData() 166 struct physical *p = link2physical(lcp->fsm.link); in SendLqrReport() 174 lcp->fsm.link->name); in SendLqrReport() 176 lcp->fsm.link->name); in SendLqrReport() 189 lcp->fsm.link->name); in SendLqrReport() 191 lcp->fsm.link->name); in SendLqrReport() 270 struct physical *physical = link2physical(lcp->fsm.link); in lqr_Setup() 312 struct physical *p = link2physical(lcp->fsm.link); in lqr_Start() [all …]
|
| H A D | physical.c | 593 p->link.lcp.fsm.bundle = dl->bundle; in iov2physical() 594 p->link.lcp.fsm.link = &p->link; in iov2physical() 595 memset(&p->link.lcp.fsm.FsmTimer, '\0', sizeof p->link.lcp.fsm.FsmTimer); in iov2physical() 596 memset(&p->link.lcp.fsm.OpenTimer, '\0', sizeof p->link.lcp.fsm.OpenTimer); in iov2physical() 599 p->link.lcp.fsm.parent = &dl->fsmp; in iov2physical() 602 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical() 603 p->link.ccp.fsm.link = &p->link; in iov2physical() 605 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical() 606 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical() 609 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical() [all …]
|
| H A D | ipv6cp.h | 38 struct fsm fsm; /* The finite state machine */ member 41 struct fsm_retry fsm; /* frequency to resend requests */ member
|
| H A D | ipcp.h | 46 struct fsm fsm; /* The finite state machine */ member 69 struct fsm_retry fsm; /* frequency to resend requests */ member
|
| H A D | lcp.h | 50 struct fsm fsm; /* The finite state machine */ member 92 struct fsm_retry fsm; /* How often/frequently to resend requests */ member
|
| H A D | lqr.h | 66 struct fsm; 79 extern struct mbuf *lqr_RecvEcho(struct fsm *, struct mbuf *);
|
| H A D | command.c | 1299 struct fsm *fp; in OpenCommand() 1301 fp = &command_ChooseLink(arg)->ccp.fsm; in OpenCommand() 1302 if (fp->link->lcp.fsm.state != ST_OPENED) in OpenCommand() 1320 fsm_Reopen(&arg->bundle->ncp.ipcp.fsm); in OpenCommand() 1341 struct fsm *fp; in CloseCommand() 1343 fp = &command_ChooseLink(arg)->ccp.fsm; in CloseCommand() 1374 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm : in DownCommand() 1421 l->lcp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout() 1422 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout() 2092 &cx->pap.cfg.fsm.timeout, &cx->pap.cfg.fsm.maxreq, in SetVariable() [all …]
|
| H A D | auth.c | 414 authp->cfg.fsm.timeout = DEF_FSMRETRY; in auth_Init() 415 authp->cfg.fsm.maxreq = DEF_FSMAUTHTRIES; in auth_Init() 416 authp->cfg.fsm.maxtrm = 0; /* not used */ in auth_Init() 429 authp->authtimer.load = authp->cfg.fsm.timeout * SECTICKS; in auth_StartReq() 431 authp->retry = authp->cfg.fsm.maxreq; in auth_StartReq()
|
| H A D | pred.c | 241 fsm_Reopen(&ccp->fsm); in Pred1Input() 250 fsm_Reopen(&ccp->fsm); in Pred1Input() 283 ccp->fsm.link->name, pre); in Pred1Input() 284 fsm_Reopen(&ccp->fsm); in Pred1Input()
|
| H A D | mppe.c | 315 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() 330 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() 430 MPPEUsable(struct fsm *fp) in MPPEUsable() 458 MPPERequired(struct fsm *fp) in MPPERequired()
|
| H A D | cbcp.h | 58 } fsm; member
|
| H A D | deflate.c | 227 ccp_SendResetReq(&ccp->fsm); in DeflateInput() 264 ccp_SendResetReq(&ccp->fsm); in DeflateInput() 306 ccp_SendResetReq(&ccp->fsm); in DeflateInput() 389 ccp_SendResetReq(&ccp->fsm); in DeflateDictSetup()
|
| H A D | auth.h | 51 struct fsm_retry fsm; /* How often/frequently to resend requests */ member
|
| H A D | mp.c | 164 mp_LayerStart(void *v __unused, struct fsm *fp __unused) in mp_LayerStart() 170 mp_LayerUp(void *v __unused, struct fsm *fp) in mp_LayerUp() 178 mp_LayerDown(void *v __unused, struct fsm *fp __unused) in mp_LayerDown() 184 mp_LayerFinish(void *v __unused, struct fsm *fp) in mp_LayerFinish() 368 fsm_Up(&mp->link.ccp.fsm); in mp_Up() 369 fsm_Open(&mp->link.ccp.fsm); in mp_Up() 393 fsm2initial(&mp->link.ccp.fsm); in mp_Down() 657 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in mp_Output()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/mtd/ |
| H A D | st-fsm.txt | 4 - compatible : Should be "st,spi-fsm" 6 - reg-names : Should contain the reg names "spi-fsm" 17 compatible = "st,spi-fsm"; 19 reg-names = "spi-fsm";
|