Lines Matching refs:srtt

169 						uint32_t srtt;  in sctp_cwnd_update_after_fr()  local
171 srtt = net->lastsa; in sctp_cwnd_update_after_fr()
173 if (srtt == 0) { in sctp_cwnd_update_after_fr()
174 srtt = 1; in sctp_cwnd_update_after_fr()
180 ((uint64_t)srtt * in sctp_cwnd_update_after_fr()
773 uint32_t srtt; in sctp_cwnd_update_after_sack_common() local
790 srtt = net->lastsa; in sctp_cwnd_update_after_sack_common()
791 if (srtt > 0) { in sctp_cwnd_update_after_sack_common()
794 t_ucwnd_sbw += (uint64_t)net->cwnd / (uint64_t)srtt; in sctp_cwnd_update_after_sack_common()
796 (((uint64_t)net->mtu) * (uint64_t)srtt); in sctp_cwnd_update_after_sack_common()
798 ((uint64_t)net->mtu * (uint64_t)(srtt * srtt)); in sctp_cwnd_update_after_sack_common()
939 srtt = net->lastsa; in sctp_cwnd_update_after_sack_common()
940 if (srtt == 0) { in sctp_cwnd_update_after_sack_common()
941 srtt = 1; in sctp_cwnd_update_after_sack_common()
946 ((uint64_t)srtt * t_ucwnd_sbw)); in sctp_cwnd_update_after_sack_common()
950 ((uint64_t)srtt * t_ucwnd_sbw)); in sctp_cwnd_update_after_sack_common()
1027 srtt = net->lastsa; in sctp_cwnd_update_after_sack_common()
1028 if (srtt == 0) { in sctp_cwnd_update_after_sack_common()
1029 srtt = 1; in sctp_cwnd_update_after_sack_common()
1033 ((uint64_t)srtt * in sctp_cwnd_update_after_sack_common()
1118 uint32_t srtt; in sctp_cwnd_update_after_timeout() local
1124 srtt = lnet->lastsa; in sctp_cwnd_update_after_timeout()
1126 if (srtt > 0) { in sctp_cwnd_update_after_timeout()
1127 t_ucwnd_sbw += (uint64_t)lnet->cwnd / (uint64_t)srtt; in sctp_cwnd_update_after_timeout()
1144 srtt = net->lastsa; in sctp_cwnd_update_after_timeout()
1146 if (srtt == 0) { in sctp_cwnd_update_after_timeout()
1147 srtt = 1; in sctp_cwnd_update_after_timeout()
1149 cc_delta = t_ucwnd_sbw * (uint64_t)srtt / 2; in sctp_cwnd_update_after_timeout()
1993 uint32_t srtt = net->lastsa>>SCTP_RTT_SHIFT; in measure_rtt() local
1996 if (net->cc_mod.htcp_ca.minRTT > srtt || !net->cc_mod.htcp_ca.minRTT) in measure_rtt()
1997 net->cc_mod.htcp_ca.minRTT = srtt; in measure_rtt()
2003 …if (net->cc_mod.htcp_ca.maxRTT < srtt && srtt <= net->cc_mod.htcp_ca.maxRTT+sctp_msecs_to_ticks(20… in measure_rtt()
2004 net->cc_mod.htcp_ca.maxRTT = srtt; in measure_rtt()