| 1503 | } |
| 1504 | |
| 1505 | static uint64_t |
| 1506 | rack_get_fixed_pacing_bw(struct tcp_rack *rack) |
| 1507 | { |
| 1508 | if (IN_RECOVERY(rack->rc_tp->t_flags)) |
| 1509 | return (rack->r_ctl.rc_fixed_pacing_rate_rec); |
| 1510 | else if (rack->r_ctl.cwnd_to_use < rack->rc_tp->snd_ssthresh) |
| 1511 | return (rack->r_ctl.rc_fixed_pacing_rate_ss); |
| 1512 | else |
| 1513 | return (rack->r_ctl.rc_fixed_pacing_rate_ca); |
| 1514 | } |
| 1515 | |
| 1516 | static uint64_t |
| 1517 | rack_get_bw(struct tcp_rack *rack) |
no outgoing calls
no test coverage detected