freebsd_network: Additions for FreeBSD 14.x net80211 and drivers.

This commit is contained in:
Augustin Cavalier
2024-06-24 20:55:29 -04:00
parent 1454f3c27a
commit f6b6453fee
2 changed files with 7 additions and 0 deletions
@@ -0,0 +1 @@
/* nothing here */
@@ -273,6 +273,12 @@ mbufq_last(const struct mbufq *mq)
return (STAILQ_LAST(&mq->mq_head, mbuf, m_stailqpkt));
}
static inline bool
mbufq_empty(const struct mbufq *mq)
{
return (mq->mq_len == 0);
}
static inline int
mbufq_full(const struct mbufq *mq)
{