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

Function mld_dispatch_queue

freebsd/netinet6/mld6.c:428–439  ·  view source on GitHub ↗

* Dispatch an entire queue of pending packet chains. * VIMAGE: Assumes the vnet pointer has been set. */

Source from the content-addressed store, hash-verified

426 * VIMAGE: Assumes the vnet pointer has been set.
427 */
428static void
429mld_dispatch_queue(struct mbufq *mq, int limit)
430{
431 struct mbuf *m;
432
433 while ((m = mbufq_dequeue(mq)) != NULL) {
434 CTR3(KTR_MLD, "%s: dispatch %p from %p", __func__, mq, m);
435 mld_dispatch_packet(m);
436 if (--limit == 0)
437 break;
438 }
439}
440
441/*
442 * Filter outgoing MLD report state by group.

Callers 2

mld_fasttimo_vnetFunction · 0.85

Calls 2

mld_dispatch_packetFunction · 0.85
mbufq_dequeueFunction · 0.50

Tested by

no test coverage detected