Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ tcp_pcap_drain
Function
tcp_pcap_drain
freebsd/netinet/tcp_pcap.c:425–431 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
423
}
424
425
void
426
tcp_pcap_drain(struct mbufq *queue)
427
{
428
struct mbuf *m;
429
while ((m = mbufq_dequeue(queue)))
430
tcp_pcap_m_freem(m);
431
}
432
433
void
434
tcp_pcap_tcpcb_init(struct tcpcb *tp)
Callers
2
tcp_discardcb
Function · 0.85
tcp_drain
Function · 0.85
Calls
2
tcp_pcap_m_freem
Function · 0.85
mbufq_dequeue
Function · 0.50
Tested by
no test coverage detected