FreeBSD/sys/netinet/tcp_output.c
/*
 * Wrapper for the TCP established output helper hook.
 */
Wrapper for the TCP established output helper hook.
Wrapper for the TCP established output helper hook .
static void inline
hhook_run_tcp_est_out(struct tcpcb *tp, struct tcphdr *th,
    struct tcpopt *to, long len, int tso)
{
	struct tcp_hhook_data hhook_data;
	if (V_tcp_hhh[HHOOK_TCP_EST_OUT]->hhh_nhooks > 0) {
		hhook_data.tp = tp;
		hhook_data.th = th;
		hhook_data.to = to;
		hhook_data.len = len;
		hhook_data.tso = tso;
		hhook_run_hooks(V_tcp_hhh[HHOOK_TCP_EST_OUT], &hhook_data,
		    tp->osd);
	}
}
static void inline hhook_run_tcp_est_out ( struct tcpcb * tp , struct tcphdr * th , struct tcpopt * to , long len , int tso ) { struct tcp_hhook_data hhook_data ; if ( V_tcp_hhh [ HHOOK_TCP_EST_OUT ] -> hhh_nhooks > 0 ) { hhook_data . tp = tp ; hhook_data . th = th ; hhook_data . to = to ; hhook_data . len = len ; hhook_data . tso = tso ; hhook_run_hooks ( V_tcp_hhh [ HHOOK_TCP_EST_OUT ] , & hhook_data , tp -> osd ) ; } }
Wrapper for the TCP established output helper hook.
Wrapper for the TCP established output helper hook .