Searched refs:TCP_RTTVAR_SHIFT (Results 1 – 5 of 5) sorted by relevance
915 #define TCP_RTTVAR_SHIFT 4 /* shift for rttvar; 4 bits */ macro
2313 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()
3721 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()
1587 ti->tcpi_rttvar = ((u_int64_t)tp->t_rttvar * tick) >> TCP_RTTVAR_SHIFT; in tcp_fill_info()
6349 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()