Home
last modified time | relevance | path

Searched refs:TCP_RTTVAR_SHIFT (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netinet/
H A Dtcp_var.h915 #define TCP_RTTVAR_SHIFT 4 /* shift for rttvar; 4 bits */ macro
H A Dtcp_subr.c2313 tp->t_rttvar = ((tcp_rexmit_initial - TCPTV_SRTTBASE) << TCP_RTTVAR_SHIFT) / 4; in tcp_newtcpcb()
4206 val = tp->t_rttvar >> TCP_RTTVAR_SHIFT; in tcp_change_time_units()
4255 tp->t_rttvar = val << TCP_RTTVAR_SHIFT; in tcp_change_time_units()
H A Dtcp_input.c3721 delta -= tp->t_rttvar >> (TCP_RTTVAR_SHIFT - TCP_DELTA_SHIFT); in tcp_xmit_timer()
3731 tp->t_rttvar = rtt << (TCP_RTTVAR_SHIFT - 1); in tcp_xmit_timer()
H A Dtcp_usrreq.c1587 ti->tcpi_rttvar = ((u_int64_t)tp->t_rttvar * tick) >> TCP_RTTVAR_SHIFT; in tcp_fill_info()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c6349 delta -= tp->t_rttvar >> (TCP_RTTVAR_SHIFT - TCP_DELTA_SHIFT); in tcp_bbr_xmit_timer_commit()
6360 tp->t_rttvar = rtt_ticks << (TCP_RTTVAR_SHIFT - 1); in tcp_bbr_xmit_timer_commit()