| 1503 | } |
| 1504 | |
| 1505 | static inline void |
| 1506 | mbufq_drain(struct mbufq *mq) |
| 1507 | { |
| 1508 | struct mbuf *m, *n; |
| 1509 | |
| 1510 | n = mbufq_flush(mq); |
| 1511 | while ((m = n) != NULL) { |
| 1512 | n = STAILQ_NEXT(m, m_stailqpkt); |
| 1513 | m_freem(m); |
| 1514 | } |
| 1515 | } |
| 1516 | |
| 1517 | static inline struct mbuf * |
| 1518 | mbufq_first(const struct mbufq *mq) |
no test coverage detected