| 2446 | } |
| 2447 | |
| 2448 | static void |
| 2449 | bbr_log_timer_var(struct tcp_bbr *bbr, int mode, uint32_t cts, uint32_t time_since_sent, uint32_t srtt, |
| 2450 | uint32_t thresh, uint32_t to) |
| 2451 | { |
| 2452 | if (bbr_verbose_logging && (bbr->rc_tp->t_logstate != TCP_LOG_STATE_OFF)) { |
| 2453 | union tcp_log_stackspecific log; |
| 2454 | |
| 2455 | bbr_fill_in_logging_data(bbr, &log.u_bbr, cts); |
| 2456 | log.u_bbr.flex1 = bbr->rc_tp->t_rttvar; |
| 2457 | log.u_bbr.flex2 = time_since_sent; |
| 2458 | log.u_bbr.flex3 = srtt; |
| 2459 | log.u_bbr.flex4 = thresh; |
| 2460 | log.u_bbr.flex5 = to; |
| 2461 | log.u_bbr.flex6 = bbr->rc_tp->t_srtt; |
| 2462 | log.u_bbr.flex8 = mode; |
| 2463 | TCP_LOG_EVENTP(bbr->rc_tp, NULL, |
| 2464 | &bbr->rc_inp->inp_socket->so_rcv, |
| 2465 | &bbr->rc_inp->inp_socket->so_snd, |
| 2466 | BBR_LOG_TIMERPREP, 0, |
| 2467 | 0, &log, false, &bbr->rc_tv); |
| 2468 | } |
| 2469 | } |
| 2470 | |
| 2471 | static void |
| 2472 | bbr_log_pacing_delay_calc(struct tcp_bbr *bbr, uint16_t gain, uint32_t len, |
no test coverage detected