| 1487 | RB_GENERATE(rack_rb_tree_head, rack_sendmap, r_next, rb_map_cmp); |
| 1488 | |
| 1489 | static uint32_t |
| 1490 | rc_init_window(struct tcp_rack *rack) |
| 1491 | { |
| 1492 | uint32_t win; |
| 1493 | |
| 1494 | if (rack->rc_init_win == 0) { |
| 1495 | /* |
| 1496 | * Nothing set by the user, use the system stack |
| 1497 | * default. |
| 1498 | */ |
| 1499 | return(tcp_compute_initwnd(tcp_maxseg(rack->rc_tp))); |
| 1500 | } |
| 1501 | win = ctf_fixed_maxseg(rack->rc_tp) * rack->rc_init_win; |
| 1502 | return(win); |
| 1503 | } |
| 1504 | |
| 1505 | static uint64_t |
| 1506 | rack_get_fixed_pacing_bw(struct tcp_rack *rack) |
no test coverage detected