Searched refs:t_ccstate (Results 1 – 5 of 5) sorted by relevance
121 VERIFY(tp->t_ccstate != NULL); in tcp_cubic_init()141 VERIFY(tp->t_ccstate != NULL); in tcp_cubic_cwnd_init_or_reset()164 tp->t_ccstate->cub_last_max = tp->snd_ssthresh; in tcp_cubic_cwnd_init_or_reset()180 if (tp->t_ccstate->cub_last_max == 0) { in tcp_cubic_update()181 tp->t_ccstate->cub_last_max = tp->snd_ssthresh; in tcp_cubic_update()184 if (tp->t_ccstate->cub_epoch_start == 0) { in tcp_cubic_update()190 tp->t_ccstate->cub_epoch_start = tcp_now; in tcp_cubic_update()191 if (tp->t_ccstate->cub_epoch_start == 0) { in tcp_cubic_update()192 tp->t_ccstate->cub_epoch_start = 1; in tcp_cubic_update()194 if (win < tp->t_ccstate->cub_last_max) { in tcp_cubic_update()[all …]
223 tp->t_ccstate->ledbat_slowdown_events = 0; in tcp_ledbat_clear_state()224 tp->t_ccstate->ledbat_slowdown_ts = 0; in tcp_ledbat_clear_state()225 tp->t_ccstate->ledbat_slowdown_begin = 0; in tcp_ledbat_clear_state()226 tp->t_ccstate->ledbat_md_bytes_acked = 0; in tcp_ledbat_clear_state()305 if (tp->t_ccstate->ledbat_slowdown_ts == 0) { in ledbat_pp_congestion_avd()307 if (tp->t_ccstate->ledbat_slowdown_events > 0) { in ledbat_pp_congestion_avd()309 tp->t_ccstate->ledbat_slowdown_begin; in ledbat_pp_congestion_avd()320 tp->t_ccstate->ledbat_slowdown_ts = tcp_now + in ledbat_pp_congestion_avd()323 tp->t_ccstate->ledbat_slowdown_ts += (2 * (tp->t_srtt >> TCP_RTT_SHIFT)); in ledbat_pp_congestion_avd()326 tp->t_ccstate->ledbat_slowdown_begin = 0; in ledbat_pp_congestion_avd()[all …]
231 tp->t_ccstate->cub_last_max; in tcp_ccdbg_trace()233 tp->t_ccstate->cub_tcp_win; in tcp_ccdbg_trace()235 tp->t_ccstate->cub_avg_lastmax; in tcp_ccdbg_trace()237 tp->t_ccstate->cub_mean_dev; in tcp_ccdbg_trace()398 tp->t_ccstate == NULL) { in tcp_cc_allocate_state()399 tp->t_ccstate = (struct tcp_ccstate *)zalloc(tcp_cc_zone); in tcp_cc_allocate_state()406 if (tp->t_ccstate == NULL) { in tcp_cc_allocate_state()409 bzero(tp->t_ccstate, sizeof(*tp->t_ccstate)); in tcp_cc_allocate_state()
1666 if (tp->t_ccstate != NULL) { in tcp_close()1667 zfree(tcp_cc_zone, tp->t_ccstate); in tcp_close()1668 tp->t_ccstate = NULL; in tcp_close()
541 struct tcp_ccstate *t_ccstate; /* congestion control related state */ member