/freebsd/usr.sbin/ppp/ |
H A D | lqr.c | 77 struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc; in SendEchoReq() local 82 echo.sequence = htonl(hdlc->lqm.echo.seq_sent); in SendEchoReq() 83 fsm_Output(&lcp->fsm, CODE_ECHOREQ, hdlc->lqm.echo.seq_sent++, in SendEchoReq() 90 struct hdlc *hdlc = &link2physical(fp->link)->hdlc; in lqr_RecvEcho() local 114 if ((hdlc->lqm.echo.seq_recv > (u_int32_t)0 - 5 && lqr.sequence < 5) || in lqr_RecvEcho() 115 (hdlc->lqm.echo.seq_recv <= (u_int32_t)0 - 5 && in lqr_RecvEcho() 116 lqr.sequence > hdlc->lqm.echo.seq_recv)) in lqr_RecvEcho() 117 hdlc->lqm.echo.seq_recv = lqr.sequence; in lqr_RecvEcho() 168 timer_Stop(&p->hdlc.lqm.timer); in SendLqrReport() 170 if (p->hdlc.lqm.method & LQM_LQR) { in SendLqrReport() [all …]
|
H A D | hdlc.c | 99 hdlc_Init(struct hdlc *hdlc, struct lcp *lcp) in hdlc_Init() argument 101 memset(hdlc, '\0', sizeof(struct hdlc)); in hdlc_Init() 102 hdlc->lqm.owner = lcp; in hdlc_Init() 322 p->hdlc.lqm.ifInOctets += len + 1; /* plus 1 flag octet! */ in hdlc_LayerPull() 325 p->hdlc.lqm.ifInErrors++; in hdlc_LayerPull() 326 p->hdlc.stats.badfcs++; in hdlc_LayerPull() 332 p->hdlc.lqm.lqr.InGoodOctets += len + 1; /* plus 1 flag octet! */ in hdlc_LayerPull() 333 p->hdlc.lqm.ifInUniPackets++; in hdlc_LayerPull() 385 struct hdlc *hdlc = &arg->cx->physical->hdlc; in hdlc_ReportStatus() local 389 hdlc->stats.badfcs); in hdlc_ReportStatus() [all …]
|
H A D | hdlc.h | 61 struct hdlc { struct 104 extern void hdlc_Init(struct hdlc *, struct lcp *); argument 105 extern void hdlc_StartTimer(struct hdlc *); 106 extern void hdlc_StopTimer(struct hdlc *);
|
H A D | acf.c | 89 p->hdlc.lqm.ifInErrors++; in acf_LayerPull() 90 p->hdlc.stats.badaddr++; in acf_LayerPull() 96 p->hdlc.lqm.ifInErrors++; in acf_LayerPull() 97 p->hdlc.stats.badcommand++; in acf_LayerPull()
|
H A D | sync.c | 75 p->hdlc.lqm.ifInOctets += len + 1; /* plus 1 flag octet! */ in sync_LayerPull() 76 p->hdlc.lqm.lqr.InGoodOctets += len + 1; /* plus 1 flag octet! */ in sync_LayerPull() 77 p->hdlc.lqm.ifInUniPackets++; in sync_LayerPull()
|
H A D | lqr.h | 67 struct hdlc; 72 extern void lqr_Analyse(const struct hdlc *, const struct lqrdata *,
|
H A D | physical.h | 82 struct hdlc hdlc; /* Our hdlc state */ member
|
H A D | physical.c | 183 hdlc_Init(&p->hdlc, &p->link.lcp); in physical_Create() 612 p->hdlc.lqm.owner = &p->link.lcp; in iov2physical() 613 p->hdlc.ReportTimer.state = TIMER_STOPPED; in iov2physical() 614 p->hdlc.lqm.timer.state = TIMER_STOPPED; in iov2physical() 636 if (p->hdlc.lqm.method && p->hdlc.lqm.timer.load) in iov2physical() 638 hdlc_StartTimer(&p->hdlc); in iov2physical() 671 hdlc_StopTimer(&p->hdlc); in physical2iov()
|
H A D | link.c | 392 p->hdlc.lqm.ifInDiscards++; in Despatch() 393 p->hdlc.stats.unknownproto++; in Despatch()
|
H A D | Makefile | 7 command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
|
H A D | command.c | 2909 cx->physical->hdlc.lqm.method &= ~LQM_ECHO; in NegotiateSet() 2910 if (cx->physical->hdlc.lqm.method & LQM_ECHO && in NegotiateSet() 2912 cx->physical->hdlc.lqm.timer.load) { in NegotiateSet() 2913 cx->physical->hdlc.lqm.timer.load = 0; in NegotiateSet() 2918 cx->physical->hdlc.lqm.method |= LQM_ECHO; in NegotiateSet() 2919 cx->physical->hdlc.lqm.timer.load = in NegotiateSet() 2922 (*cx->physical->hdlc.lqm.timer.func)(&cx->physical->link.lcp); in NegotiateSet()
|
H A D | lcp.c | 581 hdlc_StartTimer(&p->hdlc); in LcpLayerUp() 596 hdlc_StopTimer(&p->hdlc); in LcpLayerDown()
|
H A D | datalink.c | 237 hdlc_Init(&dl->physical->hdlc, &dl->physical->link.lcp); in datalink_LoginDone()
|
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ |
H A D | network.txt | 48 - fsl,ucc-hdlc 50 Properties for fsl,ucc-hdlc: 61 Definition : Specify that hdlc is based on tdm-interface 111 compatible = "fsl,ucc-hdlc"; 124 Example for hdlc without tdm interface: 127 compatible = "fsl,ucc-hdlc";
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | kmcent2.dts | 330 device_type = "hdlc"; 331 compatible = "fsl,ucc-hdlc"; 334 fsl,hdlc-bus;
|
H A D | t104xd4rdb.dtsi | 233 compatible = "fsl,ucc-hdlc";
|
H A D | t104xrdb.dtsi | 243 compatible = "fsl,ucc-hdlc";
|
H A D | t104xqds.dtsi | 387 compatible = "fsl,ucc-hdlc";
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-ls1043a-rdb.dts | 229 compatible = "fsl,ucc-hdlc";
|