FreeBSD/sys/netinet/tcp_input.c
/*
 * Wrapper for the TCP established input helper hook.
 */
Wrapper for the TCP established input helper hook.
Wrapper for the TCP established input helper hook .
void
hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to)
{
	struct tcp_hhook_data hhook_data;
	if (V_tcp_hhh[HHOOK_TCP_EST_IN]->hhh_nhooks > 0) {
		hhook_data.tp = tp;
		hhook_data.th = th;
		hhook_data.to = to;
		hhook_run_hooks(V_tcp_hhh[HHOOK_TCP_EST_IN], &hhook_data,
		    tp->osd);
	}
}
void hhook_run_tcp_est_in ( struct tcpcb * tp , struct tcphdr * th , struct tcpopt * to ) { struct tcp_hhook_data hhook_data ; if ( V_tcp_hhh [ HHOOK_TCP_EST_IN ] -> hhh_nhooks > 0 ) { hhook_data . tp = tp ; hhook_data . th = th ; hhook_data . to = to ; hhook_run_hooks ( V_tcp_hhh [ HHOOK_TCP_EST_IN ] , & hhook_data , tp -> osd ) ; } }
Wrapper for the TCP established input helper hook.
Wrapper for the TCP established input helper hook .