Lines Matching refs:ssthresh
102 net->ssthresh = assoc->peers_rwnd; in sctp_set_initial_cc_param()
127 t_ssthresh += net->ssthresh; in sctp_cwnd_update_after_fr()
159 net->ssthresh = (uint32_t)(((uint64_t)4 * in sctp_cwnd_update_after_fr()
161 (uint64_t)net->ssthresh) / in sctp_cwnd_update_after_fr()
179 net->ssthresh = (uint32_t)(((uint64_t)4 * in sctp_cwnd_update_after_fr()
187 (net->ssthresh < net->cwnd - t_cwnd / 2)) { in sctp_cwnd_update_after_fr()
188 net->ssthresh = net->cwnd - t_cwnd / 2; in sctp_cwnd_update_after_fr()
190 if (net->ssthresh < net->mtu) { in sctp_cwnd_update_after_fr()
191 net->ssthresh = net->mtu; in sctp_cwnd_update_after_fr()
194 net->ssthresh = net->cwnd / 2; in sctp_cwnd_update_after_fr()
195 if (net->ssthresh < (net->mtu * 2)) { in sctp_cwnd_update_after_fr()
196 net->ssthresh = 2 * net->mtu; in sctp_cwnd_update_after_fr()
199 net->cwnd = net->ssthresh; in sctp_cwnd_update_after_fr()
416 net->ssthresh = net->cwnd - 1; in cc_bw_decrease()
708 t_ssthresh += net->ssthresh; in sctp_cwnd_update_after_sack_common()
832 if (net->cwnd <= net->ssthresh) { in sctp_cwnd_update_after_sack_common()
842 (uint64_t)net->ssthresh) / in sctp_cwnd_update_after_sack_common()
845 (uint64_t)net->ssthresh) / in sctp_cwnd_update_after_sack_common()
935 (uint64_t)net->ssthresh) / in sctp_cwnd_update_after_sack_common()
1029 t_ssthresh += lnet->ssthresh; in sctp_cwnd_update_after_timeout()
1044 net->ssthresh = (uint32_t)(((uint64_t)4 * in sctp_cwnd_update_after_timeout()
1046 (uint64_t)net->ssthresh) / in sctp_cwnd_update_after_timeout()
1058 net->ssthresh = (uint32_t)((uint64_t)t_cwnd - cc_delta); in sctp_cwnd_update_after_timeout()
1060 net->ssthresh = net->mtu; in sctp_cwnd_update_after_timeout()
1064 (net->ssthresh < net->cwnd - t_cwnd / 2)) { in sctp_cwnd_update_after_timeout()
1065 net->ssthresh = net->cwnd - t_cwnd / 2; in sctp_cwnd_update_after_timeout()
1067 if (net->ssthresh < net->mtu) { in sctp_cwnd_update_after_timeout()
1068 net->ssthresh = net->mtu; in sctp_cwnd_update_after_timeout()
1071 net->ssthresh = max(net->cwnd / 2, 4 * net->mtu); in sctp_cwnd_update_after_timeout()
1106 net->ssthresh = net->cwnd - (num_pkt_lost * net->mtu); in sctp_cwnd_update_after_ecn_echo_common()
1115 net->ssthresh -= (net->mtu * num_pkt_lost); in sctp_cwnd_update_after_ecn_echo_common()
1125 net->ssthresh = net->cwnd / 2; in sctp_cwnd_update_after_ecn_echo_common()
1126 if (net->ssthresh < net->mtu) { in sctp_cwnd_update_after_ecn_echo_common()
1127 net->ssthresh = net->mtu; in sctp_cwnd_update_after_ecn_echo_common()
1134 net->cwnd = net->ssthresh; in sctp_cwnd_update_after_ecn_echo_common()
1230 net->ssthresh = net->cwnd - 1; in sctp_cwnd_update_after_packet_dropped()
1272 if (net->ssthresh < net->cwnd) in sctp_cwnd_update_after_output()
1273 net->ssthresh = net->cwnd; in sctp_cwnd_update_after_output()
1649 net->ssthresh = net->cwnd / 2; in sctp_hs_cwnd_decrease()
1650 if (net->ssthresh < (net->mtu * 2)) { in sctp_hs_cwnd_decrease()
1651 net->ssthresh = 2 * net->mtu; in sctp_hs_cwnd_decrease()
1653 net->cwnd = net->ssthresh; in sctp_hs_cwnd_decrease()
1656 net->ssthresh = net->cwnd - (int)((net->cwnd / 100) * in sctp_hs_cwnd_decrease()
1658 net->cwnd = net->ssthresh; in sctp_hs_cwnd_decrease()
1804 if (net->cwnd <= net->ssthresh) { in sctp_hs_cwnd_update_after_sack()
1888 return (max(net->cwnd, ((net->ssthresh / net->mtu << 7) / net->cc_mod.htcp_ca.beta) * net->mtu)); in htcp_cwnd_undo()
1903 if (net->fast_retran_ip == 0 && net->ssthresh < 0xFFFF && htcp_ccount(&net->cc_mod.htcp_ca) > 3) { in measure_rtt()
2046 if (net->cwnd <= net->ssthresh) { in htcp_cong_avoid()
2108 return (net->ssthresh); in htcp_min_cwnd()
2130 net->ssthresh = stcb->asoc.peers_rwnd; in sctp_htcp_set_initial_cc_param()
2232 net->ssthresh = htcp_recalc_ssthresh(net); in sctp_htcp_cwnd_update_after_fr()
2233 net->cwnd = net->ssthresh; in sctp_htcp_cwnd_update_after_fr()
2288 net->ssthresh = htcp_recalc_ssthresh(net); in sctp_htcp_cwnd_update_after_timeout()
2308 net->ssthresh = htcp_recalc_ssthresh(net); in sctp_htcp_cwnd_update_after_ecn_echo()
2309 if (net->ssthresh < net->mtu) { in sctp_htcp_cwnd_update_after_ecn_echo()
2310 net->ssthresh = net->mtu; in sctp_htcp_cwnd_update_after_ecn_echo()
2314 net->cwnd = net->ssthresh; in sctp_htcp_cwnd_update_after_ecn_echo()