MCPcopy Create free account
hub / github.com/F-Stack/f-stack / drbr_dequeue

Function drbr_dequeue

freebsd/net/ifq.h:398–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398static __inline struct mbuf *
399drbr_dequeue(struct ifnet *ifp, struct buf_ring *br)
400{
401#ifdef ALTQ
402 struct mbuf *m;
403
404 if (ifp != NULL && ALTQ_IS_ENABLED(&ifp->if_snd)) {
405 IFQ_DEQUEUE(&ifp->if_snd, m);
406 return (m);
407 }
408#endif
409 return ((struct mbuf *)buf_ring_dequeue_sc(br));
410}
411
412static __inline void
413drbr_advance(struct ifnet *ifp, struct buf_ring *br)

Callers 1

drbr_dequeue_drvFunction · 0.85

Calls 1

buf_ring_dequeue_scFunction · 0.85

Tested by

no test coverage detected