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

Function ctf_do_drop

freebsd/netinet/tcp_stacks/rack_bbr_common.c:646–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646void
647ctf_do_drop(struct mbuf *m, struct tcpcb *tp)
648{
649
650 /*
651 * Drop space held by incoming segment and return.
652 */
653 if (tp != NULL)
654 INP_WUNLOCK(tp->t_inpcb);
655 if (m)
656 m_freem(m);
657}
658
659int
660ctf_process_rst(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp)

Callers 15

ctf_process_rstFunction · 0.85
ctf_challenge_ackFunction · 0.85
ctf_ts_checkFunction · 0.85
rack_do_syn_sentFunction · 0.85
rack_do_syn_recvFunction · 0.85
rack_do_establishedFunction · 0.85
rack_do_close_waitFunction · 0.85
rack_do_fin_wait_1Function · 0.85
rack_do_closingFunction · 0.85
rack_do_lastackFunction · 0.85
rack_do_fin_wait_2Function · 0.85
bbr_do_syn_sentFunction · 0.85

Calls 1

m_freemFunction · 0.50

Tested by

no test coverage detected