Go to the source code of this file.
|
static tcp_bt_sample_t * | bt_get_sample (tcp_byte_tracker_t *bt, u32 bts_index) |
|
static tcp_bt_sample_t * | bt_next_sample (tcp_byte_tracker_t *bt, tcp_bt_sample_t *bts) |
|
static tcp_bt_sample_t * | bt_prev_sample (tcp_byte_tracker_t *bt, tcp_bt_sample_t *bts) |
|
static u32 | bt_sample_index (tcp_byte_tracker_t *bt, tcp_bt_sample_t *bts) |
|
static int | bt_seq_lt (u32 a, u32 b) |
|
static tcp_bt_sample_t * | bt_alloc_sample (tcp_byte_tracker_t *bt, u32 min_seq, u32 max_seq) |
|
static void | bt_free_sample (tcp_byte_tracker_t *bt, tcp_bt_sample_t *bts) |
|
static tcp_bt_sample_t * | bt_split_sample (tcp_byte_tracker_t *bt, tcp_bt_sample_t *bts, u32 seq) |
|
static tcp_bt_sample_t * | bt_merge_sample (tcp_byte_tracker_t *bt, tcp_bt_sample_t *prev, tcp_bt_sample_t *cur) |
|
static tcp_bt_sample_t * | bt_lookup_seq (tcp_byte_tracker_t *bt, u32 seq) |
|
static void | bt_update_sample (tcp_byte_tracker_t *bt, tcp_bt_sample_t *bts, u32 seq) |
|
static tcp_bt_sample_t * | bt_fix_overlapped (tcp_byte_tracker_t *bt, tcp_bt_sample_t *start, u32 seq, u8 is_end) |
|
int | tcp_bt_is_sane (tcp_byte_tracker_t *bt) |
| Check if the byte tracker is in sane state. More...
|
|
static tcp_bt_sample_t * | tcp_bt_alloc_tx_sample (tcp_connection_t *tc, u32 min_seq, u32 max_seq) |
|
void | tcp_bt_check_app_limited (tcp_connection_t *tc) |
| Check if sample to be generated is app limited. More...
|
|
void | tcp_bt_track_tx (tcp_connection_t *tc, u32 len) |
| Track a tcp tx burst. More...
|
|
void | tcp_bt_track_rxt (tcp_connection_t *tc, u32 start, u32 end) |
| Track a tcp retransmission. More...
|
|
static void | tcp_bt_sample_to_rate_sample (tcp_connection_t *tc, tcp_bt_sample_t *bts, tcp_rate_sample_t *rs) |
|
static void | tcp_bt_walk_samples (tcp_connection_t *tc, tcp_rate_sample_t *rs) |
|
static void | tcp_bt_walk_samples_ooo (tcp_connection_t *tc, tcp_rate_sample_t *rs) |
|
void | tcp_bt_sample_delivery_rate (tcp_connection_t *tc, tcp_rate_sample_t *rs) |
| Generate a delivery rate sample from recently acked bytes. More...
|
|
void | tcp_bt_flush_samples (tcp_connection_t *tc) |
| Flush byte tracker samples. More...
|
|
void | tcp_bt_cleanup (tcp_connection_t *tc) |
| Byte tracker cleanup. More...
|
|
void | tcp_bt_init (tcp_connection_t *tc) |
| Byte tracker initialize. More...
|
|
u8 * | format_tcp_bt_sample (u8 *s, va_list *args) |
|
u8 * | format_tcp_bt (u8 *s, va_list *args) |
|
◆ bt_alloc_sample()
◆ bt_fix_overlapped()
◆ bt_free_sample()
◆ bt_get_sample()
◆ bt_lookup_seq()
◆ bt_merge_sample()
◆ bt_next_sample()
◆ bt_prev_sample()
◆ bt_sample_index()
◆ bt_seq_lt()
static int bt_seq_lt |
( |
u32 |
a, |
|
|
u32 |
b |
|
) |
| |
|
inlinestatic |
◆ bt_split_sample()
◆ bt_update_sample()
◆ format_tcp_bt()
u8* format_tcp_bt |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_tcp_bt_sample()
u8* format_tcp_bt_sample |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ tcp_bt_alloc_tx_sample()
◆ tcp_bt_check_app_limited()
Check if sample to be generated is app limited.
- Parameters
-
Definition at line 286 of file tcp_bt.c.
◆ tcp_bt_cleanup()
Byte tracker cleanup.
- Parameters
-
tc | connection for which the byte tracker should be cleaned up |
Definition at line 652 of file tcp_bt.c.
◆ tcp_bt_flush_samples()
Flush byte tracker samples.
- Parameters
-
tc | tcp connection for which samples should be flushed |
Definition at line 627 of file tcp_bt.c.
◆ tcp_bt_init()
Byte tracker initialize.
- Parameters
-
tc | connection for which the byte tracker should be allocated and initialized |
Definition at line 663 of file tcp_bt.c.
◆ tcp_bt_is_sane()
Check if the byte tracker is in sane state.
Should be used only for testing
- Parameters
-
Definition at line 215 of file tcp_bt.c.
◆ tcp_bt_sample_delivery_rate()
Generate a delivery rate sample from recently acked bytes.
- Parameters
-
tc | tcp connection |
rs | resulting rate sample |
Definition at line 592 of file tcp_bt.c.
◆ tcp_bt_sample_to_rate_sample()
◆ tcp_bt_track_rxt()
Track a tcp retransmission.
- Parameters
-
tc | tcp connection |
start | start sequence number |
end | end sequence number |
Definition at line 337 of file tcp_bt.c.
◆ tcp_bt_track_tx()
Track a tcp tx burst.
- Parameters
-
Definition at line 301 of file tcp_bt.c.
◆ tcp_bt_walk_samples()
◆ tcp_bt_walk_samples_ooo()