Lines Matching refs:cp
58 u_char cp[2];
60 cp[0] = proto >> 8;
61 cp[1] = proto & 0xff;
63 if (comp && cp[0] == 0)
64 bp = m_prepend(bp, cp + 1, 1, extra);
66 bp = m_prepend(bp, cp, 2, extra);
88 u_char cp[2];
91 if ((got = mbuf_View(bp, cp, 2)) == 0) {
96 *proto = cp[0];
102 bp = mbuf_Read(bp, cp, 2);
103 *proto = (*proto << 8) | cp[1];
105 bp = mbuf_Read(bp, cp, 1);