Home
last modified time | relevance | path

Searched refs:hdlc (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.sbin/ppp/
H A Dlqr.c77 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 Dhdlc.c99 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 Dhdlc.h61 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 Dacf.c89 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 Dsync.c75 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 Dlqr.h67 struct hdlc;
72 extern void lqr_Analyse(const struct hdlc *, const struct lqrdata *,
H A Dphysical.h82 struct hdlc hdlc; /* Our hdlc state */ member
H A Dphysical.c183 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 Dlink.c392 p->hdlc.lqm.ifInDiscards++; in Despatch()
393 p->hdlc.stats.unknownproto++; in Despatch()
H A DMakefile7 command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
H A Dcommand.c2909 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 Dlcp.c581 hdlc_StartTimer(&p->hdlc); in LcpLayerUp()
596 hdlc_StopTimer(&p->hdlc); in LcpLayerDown()
H A Ddatalink.c237 hdlc_Init(&dl->physical->hdlc, &dl->physical->link.lcp); in datalink_LoginDone()
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/
H A Dnetwork.txt48 - 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 Dkmcent2.dts330 device_type = "hdlc";
331 compatible = "fsl,ucc-hdlc";
334 fsl,hdlc-bus;
H A Dt104xd4rdb.dtsi233 compatible = "fsl,ucc-hdlc";
H A Dt104xrdb.dtsi243 compatible = "fsl,ucc-hdlc";
H A Dt104xqds.dtsi387 compatible = "fsl,ucc-hdlc";
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dfsl-ls1043a-rdb.dts229 compatible = "fsl,ucc-hdlc";