| 1831 | } |
| 1832 | |
| 1833 | static inline void |
| 1834 | rack_log_progress_event(struct tcp_rack *rack, struct tcpcb *tp, uint32_t tick, int event, int line) |
| 1835 | { |
| 1836 | if (rack_verbose_logging && (tp->t_logstate != TCP_LOG_STATE_OFF)) { |
| 1837 | union tcp_log_stackspecific log; |
| 1838 | struct timeval tv; |
| 1839 | |
| 1840 | memset(&log.u_bbr, 0, sizeof(log.u_bbr)); |
| 1841 | log.u_bbr.inhpts = rack->rc_inp->inp_in_hpts; |
| 1842 | log.u_bbr.ininput = rack->rc_inp->inp_in_input; |
| 1843 | log.u_bbr.flex1 = line; |
| 1844 | log.u_bbr.flex2 = tick; |
| 1845 | log.u_bbr.flex3 = tp->t_maxunacktime; |
| 1846 | log.u_bbr.flex4 = tp->t_acktime; |
| 1847 | log.u_bbr.flex8 = event; |
| 1848 | log.u_bbr.timeStamp = tcp_get_usecs(&tv); |
| 1849 | log.u_bbr.inflight = ctf_flight_size(rack->rc_tp, rack->r_ctl.rc_sacked); |
| 1850 | TCP_LOG_EVENTP(tp, NULL, |
| 1851 | &rack->rc_inp->inp_socket->so_rcv, |
| 1852 | &rack->rc_inp->inp_socket->so_snd, |
| 1853 | BBR_LOG_PROGRESS, 0, |
| 1854 | 0, &log, false, &tv); |
| 1855 | } |
| 1856 | } |
| 1857 | |
| 1858 | static void |
| 1859 | rack_log_type_bbrsnd(struct tcp_rack *rack, uint32_t len, uint32_t slot, uint32_t cts, struct timeval *tv) |
no test coverage detected