MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mbufq_dequeue

Function mbufq_dequeue

freebsd/sys/mbuf.h:1556–1568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1554}
1555
1556static inline struct mbuf *
1557mbufq_dequeue(struct mbufq *mq)
1558{
1559 struct mbuf *m;
1560
1561 m = STAILQ_FIRST(&mq->mq_head);
1562 if (m) {
1563 STAILQ_REMOVE_HEAD(&mq->mq_head, m_stailqpkt);
1564 m->m_nextpkt = NULL;
1565 mq->mq_len--;
1566 }
1567 return (m);
1568}
1569
1570static inline void
1571mbufq_prepend(struct mbufq *mq, struct mbuf *m)

Callers 14

dyn_send_keepalive_ipv4Function · 0.50
dyn_send_keepalive_ipv6Function · 0.50
nat64_do_handle_ip4Function · 0.50
ampdu_rx_purge_slotFunction · 0.50
ampdu_dispatch_slotFunction · 0.50
tcp_pcap_addFunction · 0.50
tcp_pcap_drainFunction · 0.50
tcp_pcap_set_sock_maxFunction · 0.50
igmp_dispatch_queueFunction · 0.50
mld_dispatch_queueFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected