Searched refs:t_ccstate (Results 1 – 6 of 6) sorted by relevance
96 if (tp->t_ccstate->cubic_epoch_start == 0) { in cubic_target()102 tp->t_ccstate->cubic_epoch_start = tcp_globals_now(globals); in cubic_target()103 if (tp->t_ccstate->cubic_epoch_start == 0) { in cubic_target()104 tp->t_ccstate->cubic_epoch_start = 1; in cubic_target()106 if (tp->snd_cwnd < tp->t_ccstate->cubic_W_max) { in cubic_target()113 K = ((float)(tp->t_ccstate->cubic_W_max - tp->snd_cwnd)) / cubic_c_factor / tp->t_maxseg; in cubic_target()115 tp->t_ccstate->cubic_K = K * TCP_RETRANSHZ; /* in milliseconds */ in cubic_target()116 tp->t_ccstate->cubic_origin_point = tp->t_ccstate->cubic_W_max; in cubic_target()118 tp->t_ccstate->cubic_K = 0; in cubic_target()119 tp->t_ccstate->cubic_origin_point = tp->t_ccstate->cubic_W_max = tp->snd_cwnd; in cubic_target()[all …]
86 VERIFY(tp->t_ccstate != NULL); in tcp_cubic_init()106 VERIFY(tp->t_ccstate != NULL); in tcp_cubic_cwnd_init_or_reset()129 tp->t_ccstate->cub_last_max = tp->snd_ssthresh; in tcp_cubic_cwnd_init_or_reset()149 if (tp->t_ccstate->cub_last_max == 0) { in tcp_cubic_update()150 tp->t_ccstate->cub_last_max = tp->snd_ssthresh; in tcp_cubic_update()153 if (tp->t_ccstate->cub_epoch_start == 0) { in tcp_cubic_update()159 tp->t_ccstate->cub_epoch_start = tcp_globals_now(globals); in tcp_cubic_update()160 if (tp->t_ccstate->cub_epoch_start == 0) { in tcp_cubic_update()161 tp->t_ccstate->cub_epoch_start = 1; in tcp_cubic_update()163 if (win < tp->t_ccstate->cub_last_max) { in tcp_cubic_update()[all …]
157 tp->t_ccstate->ledbat_slowdown_events = 0; in tcp_ledbat_clear_state()158 tp->t_ccstate->ledbat_slowdown_ts = 0; in tcp_ledbat_clear_state()159 tp->t_ccstate->ledbat_slowdown_begin = 0; in tcp_ledbat_clear_state()160 tp->t_ccstate->ledbat_md_bytes_acked = 0; in tcp_ledbat_clear_state()241 if (tp->t_ccstate->ledbat_slowdown_ts == 0) { in ledbat_pp_congestion_avd()243 if (tp->t_ccstate->ledbat_slowdown_events > 0) { in ledbat_pp_congestion_avd()245 tp->t_ccstate->ledbat_slowdown_begin; in ledbat_pp_congestion_avd()256 tp->t_ccstate->ledbat_slowdown_ts = now + (9 * slowdown_duration); in ledbat_pp_congestion_avd()258 tp->t_ccstate->ledbat_slowdown_ts += (2 * (tp->t_srtt >> TCP_RTT_SHIFT)); in ledbat_pp_congestion_avd()261 tp->t_ccstate->ledbat_slowdown_begin = 0; in ledbat_pp_congestion_avd()[all …]
126 tp->t_ccstate->cub_last_max; in tcp_ccdbg_trace()128 tp->t_ccstate->cub_tcp_win; in tcp_ccdbg_trace()130 tp->t_ccstate->cub_avg_lastmax; in tcp_ccdbg_trace()132 tp->t_ccstate->cub_mean_dev; in tcp_ccdbg_trace()
210 tp->t_ccstate == NULL) { in tcp_cc_allocate_state()211 tp->t_ccstate = &tp->_t_ccstate; in tcp_cc_allocate_state()213 bzero(tp->t_ccstate, sizeof(*tp->t_ccstate)); in tcp_cc_allocate_state()
720 struct tcp_ccstate *t_ccstate; /* congestion control related state */ member