Lines Matching refs:cp
62 const u_char cp[2] = { HDLC_ADDR, HDLC_UI };
65 bp = m_prepend(bp, cp, 2, 0);
77 u_char cp[2];
84 if (mbuf_View(bp, cp, 2) == 2) {
87 bp = mbuf_Read(bp, cp, 2);
88 if (cp[0] != HDLC_ADDR) {
91 log_Printf(LogDEBUG, "acf_LayerPull: addr 0x%02x\n", cp[0]);
95 if (cp[1] != HDLC_UI) {
98 log_Printf(LogDEBUG, "acf_LayerPull: control 0x%02x\n", cp[1]);
103 } else if (cp[0] == HDLC_ADDR && cp[1] == HDLC_UI) {
108 bp = mbuf_Read(bp, cp, 2);