FD.io VPP  v20.05.1-5-g09f167997
Vector Packet Processing
tcp_bt.h File Reference
+ Include dependency graph for tcp_bt.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tcp_bt_init (tcp_connection_t *tc)
 Byte tracker initialize. More...
 
void tcp_bt_cleanup (tcp_connection_t *tc)
 Byte tracker cleanup. More...
 
void tcp_bt_flush_samples (tcp_connection_t *tc)
 Flush byte tracker samples. 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...
 
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_check_app_limited (tcp_connection_t *tc)
 Check if sample to be generated is app limited. More...
 
int tcp_bt_is_sane (tcp_byte_tracker_t *bt)
 Check if the byte tracker is in sane state. More...
 

Variables

format_function_t format_tcp_bt
 

Function Documentation

◆ tcp_bt_check_app_limited()

void tcp_bt_check_app_limited ( tcp_connection_t tc)

Check if sample to be generated is app limited.

Parameters
tctcp connection

Definition at line 286 of file tcp_bt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tcp_bt_cleanup()

void tcp_bt_cleanup ( tcp_connection_t tc)

Byte tracker cleanup.

Parameters
tcconnection for which the byte tracker should be cleaned up

Definition at line 652 of file tcp_bt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tcp_bt_flush_samples()

void tcp_bt_flush_samples ( tcp_connection_t tc)

Flush byte tracker samples.

Parameters
tctcp connection for which samples should be flushed

Definition at line 627 of file tcp_bt.c.

+ Here is the call graph for this function:

◆ tcp_bt_init()

void tcp_bt_init ( tcp_connection_t tc)

Byte tracker initialize.

Parameters
tcconnection for which the byte tracker should be allocated and initialized

Definition at line 663 of file tcp_bt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tcp_bt_is_sane()

int tcp_bt_is_sane ( tcp_byte_tracker_t bt)

Check if the byte tracker is in sane state.

Should be used only for testing

Parameters
btbyte tracker

Definition at line 215 of file tcp_bt.c.

+ Here is the call graph for this function:

◆ tcp_bt_sample_delivery_rate()

void tcp_bt_sample_delivery_rate ( tcp_connection_t tc,
tcp_rate_sample_t rs 
)

Generate a delivery rate sample from recently acked bytes.

Parameters
tctcp connection
rsresulting rate sample

Definition at line 592 of file tcp_bt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tcp_bt_track_rxt()

void tcp_bt_track_rxt ( tcp_connection_t tc,
u32  start,
u32  end 
)

Track a tcp retransmission.

Parameters
tctcp connection
startstart sequence number
endend sequence number

Definition at line 337 of file tcp_bt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tcp_bt_track_tx()

void tcp_bt_track_tx ( tcp_connection_t tc,
u32  len 
)

Track a tcp tx burst.

Parameters
tctcp connection

Definition at line 301 of file tcp_bt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ format_tcp_bt

format_function_t format_tcp_bt

Definition at line 81 of file tcp_bt.h.