FreeBSD/sys/netpfil/pf/if_pflog.c
/*
 * Start output on the pflog interface.
 */
Start output on the pflog interface.
Start output on the pflog interface .
static void
pflogstart(struct ifnet *ifp)
{
	struct mbuf *m;
	for (;;) {
		IF_LOCK(&ifp->if_snd);
		_IF_DEQUEUE(&ifp->if_snd, m);
		IF_UNLOCK(&ifp->if_snd);
		if (m == NULL)
			return;
		else
			m_freem(m);
	}
}
static void pflogstart ( struct ifnet * ifp ) { struct mbuf * m ; for ( ; ; ) { IF_LOCK ( & ifp -> if_snd ) ; _IF_DEQUEUE ( & ifp -> if_snd , m ) ; IF_UNLOCK ( & ifp -> if_snd ) ; if ( m == NULL ) return ; else m_freem ( m ) ; } }
Start output on the pflog interface.
Start output on the pflog interface .