20 #ifndef SRC_VNET_TCP_TCP_BT_H_ 21 #define SRC_VNET_TCP_TCP_BT_H_ void tcp_bt_flush_samples(tcp_connection_t *tc)
Flush byte tracker samples.
int tcp_bt_is_sane(tcp_byte_tracker_t *bt)
Check if the byte tracker is in sane state.
struct _tcp_connection tcp_connection_t
void tcp_bt_check_app_limited(tcp_connection_t *tc)
Check if sample to be generated is app limited.
void tcp_bt_cleanup(tcp_connection_t *tc)
Byte tracker cleanup.
void tcp_bt_track_rxt(tcp_connection_t *tc, u32 start, u32 end)
Track a tcp retransmission.
format_function_t format_tcp_bt
f64 end
end of the time range
void tcp_bt_sample_delivery_rate(tcp_connection_t *tc, tcp_rate_sample_t *rs)
Generate a delivery rate sample from recently acked bytes.
void tcp_bt_track_tx(tcp_connection_t *tc, u32 len)
Track a tcp tx burst.
void tcp_bt_init(tcp_connection_t *tc)
Byte tracker initialize.