| 2705 | } |
| 2706 | |
| 2707 | static inline void |
| 2708 | bbr_log_progress_event(struct tcp_bbr *bbr, struct tcpcb *tp, uint32_t tick, int event, int line) |
| 2709 | { |
| 2710 | if (bbr_verbose_logging && (bbr->rc_tp->t_logstate != TCP_LOG_STATE_OFF)) { |
| 2711 | union tcp_log_stackspecific log; |
| 2712 | |
| 2713 | bbr_fill_in_logging_data(bbr, &log.u_bbr, bbr->r_ctl.rc_rcvtime); |
| 2714 | log.u_bbr.flex1 = line; |
| 2715 | log.u_bbr.flex2 = tick; |
| 2716 | log.u_bbr.flex3 = tp->t_maxunacktime; |
| 2717 | log.u_bbr.flex4 = tp->t_acktime; |
| 2718 | log.u_bbr.flex8 = event; |
| 2719 | TCP_LOG_EVENTP(bbr->rc_tp, NULL, |
| 2720 | &bbr->rc_inp->inp_socket->so_rcv, |
| 2721 | &bbr->rc_inp->inp_socket->so_snd, |
| 2722 | BBR_LOG_PROGRESS, 0, |
| 2723 | 0, &log, false, &bbr->rc_tv); |
| 2724 | } |
| 2725 | } |
| 2726 | |
| 2727 | static void |
| 2728 | bbr_type_log_hdwr_pacing(struct tcp_bbr *bbr, const struct ifnet *ifp, |
no test coverage detected