Lines Matching refs:bp
73 vj_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp,
80 bp = m_pullup(bp);
81 pip = (struct ip *)MBUF_CTOP(bp);
84 type = sl_compress_tcp(bp, pip, &bundle->ncp.ipcp.vj.cslc,
95 m_settype(bp, MB_VJOUT);
101 m_settype(bp, MB_VJOUT);
106 m_freem(bp);
111 return bp;
115 VjUncompressTcp(struct ipcp *ipcp, struct mbuf *bp, u_char type)
121 bp = m_pullup(bp);
122 olen = len = m_length(bp);
128 bufp = MBUF_CTOP(bp);
132 m_freem(bp);
133 bp = NULL;
135 m_settype(bp, MB_VJIN);
136 return bp;
148 bp = mbuf_Read(bp, bufp, rlen);
152 m_freem(bp);
158 bp = m_prepend(bp, bufp, len, 0);
159 m_settype(bp, MB_VJIN);
161 return bp;
165 vj_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp,
180 return bp;
184 return VjUncompressTcp(&bundle->ncp.ipcp, bp, type);