Home | History | Annotate | Download | only in src

Lines Matching defs:bp

182   struct mbuf *bp;
184 for (bp = NULL, pri = LINK_QUEUES(l) - 1; pri >= 0; pri--)
186 bp = m_dequeue(l->Queue + pri);
193 return bp;
248 link_PushPacket(struct link *l, struct mbuf *bp, struct bundle *b, int pri,
263 bp->priv = 0; /* Adjusted by the async layer ! */
264 for (layer = l->nlayers; layer && bp; layer--)
266 bp = (*l->layer[layer - 1]->push)(b, l, bp, pri, &proto);
268 if (bp) {
269 link_AddOutOctets(l, m_length(bp));
271 m_enqueue(l->Queue + pri, m_pullup(bp));
278 struct mbuf *bp, *lbp[LAYER_MAX], *next;
286 * bp->m_nextpkt.
307 bp = lbp[layer];
308 lbp[layer] = bp->m_nextpkt;
309 bp->m_nextpkt = NULL;
313 bp = (*l->layer[layer]->pull)(b, l, bp, &proto);
317 while (bp) {
318 next = bp->m_nextpkt;
319 bp->m_nextpkt = NULL;
321 Despatch(b, l, bp, proto);
322 bp = next;
325 lbp[++layer] = bp;
373 Despatch(struct bundle *bundle, struct link *l, struct mbuf *bp, u_short proto)
379 bp = (*despatcher[f].fn)(bundle, l, bp);
383 if (bp) {
389 bp = m_pullup(proto_Prepend(bp, proto, 0, 0));
390 lcp_SendProtoRej(&l->lcp, MBUF_CTOP(bp), bp->m_len);
395 m_freem(bp);