FreeBSD/sys/netinet6/mld6.c
/*
 * Dispatch an entire queue of pending packet chains.
 * VIMAGE: Assumes the vnet pointer has been set.
 */
Dispatch an entire queue of pending packet chains.
VIMAGE: Assumes the vnet pointer has been set.
Dispatch an entire queue of pending packet chains . VIMAGE : Assumes the vnet pointer has been set .
static void
mld_dispatch_queue(struct mbufq *mq, int limit)
{
	struct mbuf *m;
	while ((m = mbufq_dequeue(mq)) != NULL) {
		CTR3(KTR_MLD, "%s: dispatch %p from %p", __func__, mq, m);
		mld_dispatch_packet(m);
		if (--limit == 0)
			break;
	}
}
static void mld_dispatch_queue ( struct mbufq * mq , int limit ) { struct mbuf * m ; while ( ( m = mbufq_dequeue ( mq ) ) != NULL ) { CTR3 ( KTR_MLD , " " , __func__ , mq , m ) ; mld_dispatch_packet ( m ) ; if ( -- limit == 0 ) break ; } }
Dispatch an entire queue of pending packet chains.
Dispatch an entire queue of pending packet chains .