| 2113 | } |
| 2114 | |
| 2115 | static void |
| 2116 | bbr_log_rtt_shrinks(struct tcp_bbr *bbr, uint32_t cts, uint32_t applied, |
| 2117 | uint32_t rtt, uint32_t line, uint8_t reas, uint16_t cond) |
| 2118 | { |
| 2119 | if (bbr->rc_tp->t_logstate != TCP_LOG_STATE_OFF) { |
| 2120 | union tcp_log_stackspecific log; |
| 2121 | |
| 2122 | bbr_fill_in_logging_data(bbr, &log.u_bbr, cts); |
| 2123 | log.u_bbr.flex1 = line; |
| 2124 | log.u_bbr.flex2 = bbr->r_ctl.rc_rtt_shrinks; |
| 2125 | log.u_bbr.flex3 = bbr->r_ctl.last_in_probertt; |
| 2126 | log.u_bbr.flex4 = applied; |
| 2127 | log.u_bbr.flex5 = rtt; |
| 2128 | log.u_bbr.flex6 = bbr->r_ctl.rc_target_at_state; |
| 2129 | log.u_bbr.flex7 = cond; |
| 2130 | log.u_bbr.flex8 = reas; |
| 2131 | TCP_LOG_EVENTP(bbr->rc_tp, NULL, |
| 2132 | &bbr->rc_inp->inp_socket->so_rcv, |
| 2133 | &bbr->rc_inp->inp_socket->so_snd, |
| 2134 | BBR_LOG_RTT_SHRINKS, 0, |
| 2135 | 0, &log, false, &bbr->rc_tv); |
| 2136 | } |
| 2137 | } |
| 2138 | |
| 2139 | static void |
| 2140 | bbr_log_type_exit_rec(struct tcp_bbr *bbr) |
no test coverage detected