Searched refs:hdlc (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/usr.sbin/ppp/
H A Dlqr.c52 #include "hdlc.h"
79 struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc; local
84 echo.sequence = htonl(hdlc->lqm.echo.seq_sent);
85 fsm_Output(&lcp->fsm, CODE_ECHOREQ, hdlc->lqm.echo.seq_sent++,
92 struct hdlc *hdlc = &link2physical(fp->link)->hdlc; local
116 if ((hdlc
374 lqr_Analyse(const struct hdlc *hdlc, const struct lqrdata *oldlqr, const struct lqrdata *newlqr) argument
[all...]
H A Dhdlc.c30 * $FreeBSD: stable/11/usr.sbin/ppp/hdlc.c 330449 2018-03-05 07:26:05Z eadler $
49 #include "hdlc.h"
101 hdlc_Init(struct hdlc *hdlc, struct lcp *lcp) argument
103 memset(hdlc, '\0', sizeof(struct hdlc));
104 hdlc->lqm.owner = lcp;
311 log_Printf(LogERROR, "Can't Pull a hdlc packet from a logical link\n");
324 p->hdlc.lqm.ifInOctets += len + 1; /* plus 1 flag octet! */
327 p->hdlc
387 struct hdlc *hdlc = &arg->cx->physical->hdlc; local
405 struct hdlc *hdlc = (struct hdlc *)v; local
424 hdlc_StartTimer(struct hdlc *hdlc) argument
435 hdlc_StopTimer(struct hdlc *hdlc) argument
[all...]
H A Dsync.c43 #include "hdlc.h"
77 p->hdlc.lqm.ifInOctets += len + 1; /* plus 1 flag octet! */
78 p->hdlc.lqm.lqr.InGoodOctets += len + 1; /* plus 1 flag octet! */
79 p->hdlc.lqm.ifInUniPackets++;
H A Dhdlc.h30 * $FreeBSD: stable/11/usr.sbin/ppp/hdlc.h 330449 2018-03-05 07:26:05Z eadler $
63 struct hdlc { struct
106 extern void hdlc_Init(struct hdlc *, struct lcp *);
107 extern void hdlc_StartTimer(struct hdlc *);
108 extern void hdlc_StopTimer(struct hdlc *);
H A Dlqr.h46 u_int32_t PeerOutLQRs; /* Peers OutLQRs (hdlc.h) */
47 u_int32_t PeerOutPackets; /* Peers OutPackets (hdlc.h) */
48 u_int32_t PeerOutOctets; /* Peers OutOctets (hdlc.h) */
69 struct hdlc;
74 extern void lqr_Analyse(const struct hdlc *, const struct lqrdata *,
H A Dacf.c46 #include "hdlc.h"
91 p->hdlc.lqm.ifInErrors++;
92 p->hdlc.stats.badaddr++;
98 p->hdlc.lqm.ifInErrors++;
99 p->hdlc.stats.badcommand++;
H A Dphysical.h84 struct hdlc hdlc; /* Our hdlc state */ member in struct:physical
H A DMakefile8 command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
H A Dphysical.c69 #include "hdlc.h"
192 hdlc_Init(&p->hdlc, &p->link.lcp);
625 p->hdlc.lqm.owner = &p->link.lcp;
626 p->hdlc.ReportTimer.state = TIMER_STOPPED;
627 p->hdlc.lqm.timer.state = TIMER_STOPPED;
649 if (p->hdlc.lqm.method && p->hdlc.lqm.timer.load)
651 hdlc_StartTimer(&p->hdlc);
684 hdlc_StopTimer(&p->hdlc);
H A Dlink.c50 #include "hdlc.h"
394 p->hdlc.lqm.ifInDiscards++;
395 p->hdlc.stats.unknownproto++;
H A Dcommand.c74 #include "hdlc.h"
992 {"hdlc", NULL, hdlc_ReportStatus, LOCAL_AUTH | LOCAL_CX,
993 "HDLC errors", "show hdlc", NULL},
2418 "set log [local] [+|-]all|async|cbcp|ccp|chat|command|connect|debug|dns|hdlc|"
2902 cx->physical->hdlc.lqm.method &= ~LQM_ECHO;
2903 if (cx->physical->hdlc.lqm.method & LQM_ECHO &&
2905 cx->physical->hdlc.lqm.timer.load) {
2906 cx->physical->hdlc.lqm.timer.load = 0;
2911 cx->physical->hdlc.lqm.method |= LQM_ECHO;
2912 cx->physical->hdlc
[all...]
H A Dlcp.c61 #include "hdlc.h"
583 hdlc_StartTimer(&p->hdlc);
598 hdlc_StopTimer(&p->hdlc);
H A Ddatalink.c54 #include "hdlc.h"
239 hdlc_Init(&dl->physical->hdlc, &dl->physical->link.lcp);

Completed in 114 milliseconds