• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/netinet/tcp_stacks/

Lines Matching defs:thresh

1280 	    "Extra RACK time (in microseconds) besides reordering thresh");
2178 rack_log_retran_reason(struct tcp_rack *rack, struct rack_sendmap *rsm, uint32_t tsused, uint32_t thresh, int mod)
2198 log.u_bbr.flex2 = thresh;
5028 uint32_t thresh;
5075 thresh = srtt + rack->r_ctl.rc_pkt_delay;
5079 thresh += (srtt >> rack->r_ctl.rc_reorder_shift);
5081 thresh += (srtt >> 2);
5083 thresh += 1;
5086 if (thresh > rack->rc_tp->t_rxtcur) {
5087 thresh = rack->rc_tp->t_rxtcur;
5090 if (thresh > rack_rto_max) {
5091 thresh = rack_rto_max;
5093 return (thresh);
5101 uint32_t thresh, len;
5107 thresh = srtt + (srtt / rack->r_ctl.rc_tlp_threshold);
5109 thresh = (srtt * 2);
5124 if (alt_thresh > thresh)
5125 thresh = alt_thresh;
5132 * Two packets outstanding, thresh should be (2*srtt) +
5145 thresh += inter_gap;
5154 if (alt_thresh > thresh)
5155 thresh = alt_thresh;
5166 if (alt_thresh > thresh)
5167 thresh = alt_thresh;
5171 if (thresh > tp->t_rxtcur) {
5172 thresh = tp->t_rxtcur;
5175 if (thresh > rack_rto_max) {
5176 thresh = rack_rto_max;
5179 if (thresh < rack_tlp_min) {
5180 thresh = rack_tlp_min;
5182 return (thresh);
5214 uint32_t srtt, thresh;
5231 thresh = rack_calc_thresh_rack(rack, srtt, tsused);
5235 if ((tsused - ((uint32_t)rsm->r_tim_lastsent[idx])) < thresh) {
5278 uint32_t thresh, exp, to, srtt, time_since_sent, tstmp_touse;
5400 thresh = rack_calc_thresh_rack(rack, srtt, cts);
5402 exp = ((uint32_t)rsm->r_tim_lastsent[idx]) + thresh;
5469 thresh = rack_calc_thresh_tlp(tp, rack, rsm, srtt);
5470 if (thresh > time_since_sent) {
5471 to = thresh - time_since_sent;
5475 thresh, /* flex1 */
14013 uint32_t srtt = 0, thresh = 0, ts_low = 0;
14053 thresh = rack_calc_thresh_rack(rack, srtt, tsused);
14059 if ((tsused - ts_low) < thresh) {
14074 rack_log_retran_reason(rack, rsm, (tsused - ts_low), thresh, 1);