Lines Matching refs:ifq
1278 #define IF_ENQUEUE_MBUF(ifq, m) { \
1280 if ((ifq)->ifq_tail == 0) \
1281 (ifq)->ifq_head = (m); \
1283 mbuf_setnextpkt((mbuf_t)(ifq)->ifq_tail, (m)); \
1284 (ifq)->ifq_tail = (m); \
1285 (ifq)->ifq_len++; \
1287 #define IF_PREPEND_MBUF(ifq, m) { \
1288 mbuf_setnextpkt((m), (ifq)->ifq_head); \
1289 if ((ifq)->ifq_tail == 0) \
1290 (ifq)->ifq_tail = (m); \
1291 (ifq)->ifq_head = (m); \
1292 (ifq)->ifq_len++; \
1294 #define IF_DEQUEUE_MBUF(ifq, m) { \
1295 (m) = (ifq)->ifq_head; \
1297 if (((ifq)->ifq_head = mbuf_nextpkt((m))) == 0) \
1298 (ifq)->ifq_tail = 0; \
1300 (ifq)->ifq_len--; \