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

Function bbr_log_rtt_shrinks

freebsd/netinet/tcp_stacks/bbr.c:2115–2137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2113}
2114
2115static void
2116bbr_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
2139static void
2140bbr_log_type_exit_rec(struct tcp_bbr *bbr)

Callers 9

bbr_update_bbr_infoFunction · 0.85
bbr_exit_persistFunction · 0.85
bbr_initFunction · 0.85
bbr_enter_probe_rttFunction · 0.85
bbr_exit_probe_rttFunction · 0.85
bbr_state_startupFunction · 0.85
bbr_state_changeFunction · 0.85
bbr.cFile · 0.85

Calls 1

bbr_fill_in_logging_dataFunction · 0.85

Tested by

no test coverage detected