freebsd_network: Additions for FreeBSD 14.x net80211 and drivers.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user