MCPcopy 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
425void
426tcp_pcap_drain(struct mbufq *queue)
427{
428 struct mbuf *m;
429 while ((m = mbufq_dequeue(queue)))
430 tcp_pcap_m_freem(m);
431}
432
433void
434tcp_pcap_tcpcb_init(struct tcpcb *tp)

Callers 2

tcp_discardcbFunction · 0.85
tcp_drainFunction · 0.85

Calls 2

tcp_pcap_m_freemFunction · 0.85
mbufq_dequeueFunction · 0.50

Tested by

no test coverage detected