Lines Matching defs:bp
199 struct mbuf *bp;
201 bp = m_get(sizeof *head + data->length, MB_CBCPOUT);
202 head = (struct cbcp_header *)MBUF_CTOP(bp);
206 memcpy(MBUF_CTOP(bp) + sizeof *head, data, data->length);
207 log_DumpBp(LogDEBUG, "cbcp_Output", bp);
208 link_PushPacket(&cbcp->p->link, bp, cbcp->p->dl->bundle,
622 cbcp_Input(struct bundle *bundle __unused, struct link *l, struct mbuf *bp)
632 m_freem(bp);
636 bp = m_pullup(bp);
637 len = m_length(bp);
639 m_freem(bp);
642 head = (struct cbcp_header *)MBUF_CTOP(bp);
646 m_freem(bp);
649 m_settype(bp, MB_CBCPIN);
653 bp->m_offset += sizeof(struct cbcp_header);
654 bp->m_len -= sizeof(struct cbcp_header);
655 data = (struct cbcp_data *)MBUF_CTOP(bp);
741 m_freem(bp);