/freebsd/usr.sbin/ppp/ |
H A D | lqr.c | 50 #include "hdlc.h" 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() [all …]
|
H A D | hdlc.c | 47 #include "hdlc.h" 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() 106 * HDLC FCS computation. Read RFC 1171 Appendix B and CCITT X.25 section 309 log_Printf(LogERROR, "Can't Pull a hdlc packet from a logical link\n"); in hdlc_LayerPull() 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() [all …]
|
H A D | hdlc.h | 32 * Definition for Async HDLC 41 * Definition for HDLC Frame Check Sequence 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 | sync.c | 41 #include "hdlc.h" 73 /* Either done here or by the HDLC layer */ in sync_LayerPull() 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 | 44 u_int32_t PeerOutLQRs; /* Peers OutLQRs (hdlc.h) */ 45 u_int32_t PeerOutPackets; /* Peers OutPackets (hdlc.h) */ 46 u_int32_t PeerOutOctets; /* Peers OutOctets (hdlc.h) */ 67 struct hdlc; 72 extern void lqr_Analyse(const struct hdlc *, const struct lqrdata *,
|
H A D | acf.c | 44 #include "hdlc.h" 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 | physical.h | 82 struct hdlc hdlc; /* Our hdlc state */ member
|
H A D | physical.c | 67 #include "hdlc.h" 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 | async.c | 44 #include "hdlc.h" 80 * Encode into async HDLC byte code
|
H A D | link.c | 48 #include "hdlc.h" 392 p->hdlc.lqm.ifInDiscards++; in Despatch() 393 p->hdlc.stats.unknownproto++; in Despatch()
|
H A D | chat.c | 52 #include "hdlc.h" 228 /* We leave room for a potential HDLC header in the target string */ in chat_UpdateSet() 519 /* There's always room for the HDLC header */ in chat_Write() 522 memcpy(c->argptr, "\377\003", 2); /* Prepend HDLC header */ in chat_Write() 537 /* Oops - didn't even write our HDLC header ! */ in chat_Write()
|
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ |
H A D | fsl,qe-ucc-qmc.yaml | 78 - fsl,mpc8321-ucc-qmc-hdlc 79 - const: fsl,qe-ucc-qmc-hdlc 80 - const: fsl,qmc-hdlc 90 enum: [transparent, hdlc] 94 - hdlc: The channel handles HDLC frames 129 const: fsl,qmc-hdlc 188 compatible = "fsl,mpc8321-ucc-qmc-hdlc", 189 "fsl,qe-ucc-qmc-hdlc", 190 "fsl,qmc-hdlc"; 192 fsl,operational-mode = "hdlc";
|
H A D | network.txt | 45 * HDLC 48 - fsl,ucc-hdlc 50 Properties for fsl,ucc-hdlc: 61 Definition : Specify that hdlc is based on tdm-interface 104 Definition: HDLC address recognition. Set to zero to disable 111 compatible = "fsl,ucc-hdlc"; 124 Example for hdlc without tdm interface: 127 compatible = "fsl,ucc-hdlc";
|
H A D | fsl,ucc-hdlc.yaml | 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml# 7 title: High-Level Data Link Control(HDLC) 9 description: HDLC part in Universal communication controllers (UCCs) 16 const: fsl,ucc-hdlc 41 description: Specify that hdlc is based on tdm-interface 107 HDLC address recognition. Set to zero to disable 120 compatible = "fsl,ucc-hdlc"; 136 compatible = "fsl,ucc-hdlc";
|
H A D | fsl,cpm1-scc-qmc.yaml | 78 enum: [transparent, hdlc] 82 - hdlc: The channel handles HDLC frames 107 - fsl,mpc885-scc-qmc-hdlc 108 - fsl,mpc866-scc-qmc-hdlc 109 - const: fsl,cpm1-scc-qmc-hdlc 110 - const: fsl,qmc-hdlc 125 const: fsl,qmc-hdlc 184 compatible = "fsl,mpc885-scc-qmc-hdlc", 185 "fsl,cpm1-scc-qmc-hdlc", [all...] |
/freebsd/share/man/man4/ |
H A D | ng_nat.4 | 364 serial line with HDLC encapsulation. 368 name cp0:rawdata hdlc 369 mkpeer hdlc: nat inet in 370 name hdlc:inet nat
|
H A D | ng_cisco.4 | 41 .Nd Cisco HDLC protocol netgraph node type 50 using the Cisco HDLC protocol.
|
/freebsd/contrib/libpcap/ |
H A D | pcap-common.c | 127 * PPP in HDLC-like framing header (with 0xff 0x03 before the PPP protocol 132 * point-to-point with HDLC framing as per section 4.3.1 of RFC 1547 ("Cisco 133 * HDLC"). This is, for example, what you get with NetBSD's DLT_PPP_SERIAL. 140 #define LINKTYPE_PPP_HDLC 50 /* PPP in HDLC-like framing */ 169 #define LINKTYPE_C_HDLC 104 /* Cisco HDLC */ 184 * that uses it, it's Cisco HDLC, so it's the same as DLT_C_HDLC/ 190 #define LINKTYPE_NETBSD_HDLC 112 /* NetBSD HDLC framing */ 207 * Reserved for Siemens HiPath HDLC. 398 * before standard Ethernet, PPP, Frelay & C-HDLC Frames 584 * Cisco HDLC, with a one-byte direction pseudo-header prepended - zero [all …]
|
/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;
|
/freebsd/contrib/tcpdump/ |
H A D | l2vpn.c | 36 { 6, "Cisco HDLC"}, 71 { 0x0006, "Cisco-HDLC"},
|
H A D | print-chdlc.c | 22 /* \summary: Cisco HDLC printer */ 155 * https://web.archive.org/web/20190725151313/www.nethelp.no/net/cisco-hdlc.txt in chdlc_slarp_print()
|
H A D | print-juniper.c | 198 { JUNIPER_IFML_CISCOHDLC, "Cisco-HDLC" }, 208 { JUNIPER_IFML_CISCOHDLC_CCC, "Cisco-HDLC-CCC" }, 223 { JUNIPER_IFML_CISCOHDLC_TCC, "Cisco-HDLC-TCC" }, 333 { JUNIPER_IFLE_CISCOHDLC, "C-HDLC" }, 334 { JUNIPER_IFLE_CISCOHDLC_CCC, "C-HDLC CCC" }, 335 { JUNIPER_IFLE_CISCOHDLC_SUBORDINATE, "C-HDLC via dialer" }, 336 { JUNIPER_IFLE_CISCOHDLC_TCC, "C-HDLC TCC" }, 784 /* this DLT contains nothing but raw c-hdlc frames */ in juniper_chdlc_if_print()
|
/freebsd/contrib/tcpdump/missing/ |
H A D | dlnames.c | 79 DLT_CHOICE(DLT_C_HDLC, "Cisco HDLC"), 124 DLT_CHOICE(DLT_HDLC, "Cisco HDLC"),
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | sniffer | 106 >20 belong&0x03FFFFFF 50 (PPP or Cisco HDLC 113 >20 belong&0x03FFFFFF 104 (BSD/OS Cisco HDLC 119 >20 belong&0x03FFFFFF 112 (Cisco HDLC 175 >20 belong&0x03FFFFFF 181 (Juniper C-HDLC 199 >20 belong&0x03FFFFFF 205 (Cisco HDLC with direction pseudo-header
|
/freebsd/sbin/ipf/ipf/ |
H A D | bpf-ipf.h | 227 #define DLT_PPP_SERIAL 50 /* PPP over serial with HDLC encapsulation */ 250 #define DLT_C_HDLC 104 /* Cisco HDLC */ 326 * Reserved for Siemens HiPath HDLC.
|