FreeBSD/sys/dev/cxgb/ulp/tom/cxgb_l2t.c
/*
 * Add a packet to the an L2T entry's queue of packets awaiting resolution.
 * Must be called with the entry's lock held.
 */
Add a packet to the an L2T entry's queue of packets awaiting resolution.
Must be called with the entry's lock held.
Add a packet to the an L2T entry ' s queue of packets awaiting resolution . Must be called with the entry ' s lock held .
static inline void
arpq_enqueue(struct l2t_entry *e, struct mbuf *m)
{
	mtx_assert(&e->lock, MA_OWNED);
	m->m_next = NULL;
	if (e->arpq_head)
		e->arpq_tail->m_next = m;
	else
		e->arpq_head = m;
	e->arpq_tail = m;
}
static inline void arpq_enqueue ( struct l2t_entry * e , struct mbuf * m ) { mtx_assert ( & e -> lock , MA_OWNED ) ; m -> m_next = NULL ; if ( e -> arpq_head ) e -> arpq_tail -> m_next = m ; else e -> arpq_head = m ; e -> arpq_tail = m ; }
Add a packet to the an L2T entry's queue of packets awaiting resolution.
Add a packet to the an L2T entry ' s queue of packets awaiting resolution .