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

Function bbr_set_epoch

freebsd/netinet/tcp_stacks/bbr.c:2900–2910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2898}
2899
2900static inline void
2901bbr_set_epoch(struct tcp_bbr *bbr, uint32_t cts, int32_t line)
2902{
2903 uint32_t epoch_time;
2904
2905 /* Tick the RTT clock */
2906 bbr->r_ctl.rc_rtt_epoch++;
2907 epoch_time = cts - bbr->r_ctl.rc_rcv_epoch_start;
2908 bbr_log_time_epoch(bbr, cts, line, epoch_time);
2909 bbr->r_ctl.rc_rcv_epoch_start = cts;
2910}
2911
2912static inline void
2913bbr_isit_a_pkt_epoch(struct tcp_bbr *bbr, uint32_t cts, struct bbr_sendmap *rsm, int32_t line, int32_t cum_acked)

Callers 4

bbr_lt_bw_samplingFunction · 0.85
bbr_exit_persistFunction · 0.85
bbr_check_bbr_for_stateFunction · 0.85

Calls 1

bbr_log_time_epochFunction · 0.85

Tested by

no test coverage detected