MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bbr_log_progress_event

Function bbr_log_progress_event

freebsd/netinet/tcp_stacks/bbr.c:2707–2725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2705}
2706
2707static inline void
2708bbr_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
2727static void
2728bbr_type_log_hdwr_pacing(struct tcp_bbr *bbr, const struct ifnet *ifp,

Callers 13

bbr_timeout_tlpFunction · 0.85
bbr_timeout_persistFunction · 0.85
bbr_timeout_rxtFunction · 0.85
bbr_log_ackFunction · 0.85
bbr_process_ackFunction · 0.85
bbr_fastackFunction · 0.85
bbr_do_establishedFunction · 0.85
bbr_do_close_waitFunction · 0.85
bbr_do_fin_wait_1Function · 0.85
bbr_do_closingFunction · 0.85
bbr_do_lastackFunction · 0.85
bbr_do_fin_wait_2Function · 0.85

Calls 1

bbr_fill_in_logging_dataFunction · 0.85

Tested by

no test coverage detected