|
static tcp_header_t * | tcp_buffer_hdr (vlib_buffer_t *b) |
|
static tcp_connection_t * | tcp_connection_get (u32 conn_index, u32 thread_index) |
|
static tcp_connection_t * | tcp_connection_get_if_valid (u32 conn_index, u32 thread_index) |
|
static void | tcp_connection_set_state (tcp_connection_t *tc, tcp_state_t state) |
|
static tcp_connection_t * | tcp_listener_get (u32 tli) |
|
static tcp_connection_t * | tcp_half_open_connection_get (u32 conn_index) |
|
static u32 | tcp_bytes_out (const tcp_connection_t *tc) |
| Our estimate of the number of bytes that have left the network. More...
|
|
static u32 | tcp_flight_size (const tcp_connection_t *tc) |
| Our estimate of the number of bytes in flight (pipe size) More...
|
|
static u32 | tcp_initial_cwnd (const tcp_connection_t *tc) |
| Initial cwnd as per RFC5681. More...
|
|
static void | tcp_cwnd_accumulate (tcp_connection_t *tc, u32 thresh, u32 bytes) |
|
static u32 | tcp_loss_wnd (const tcp_connection_t *tc) |
|
static u32 | tcp_available_snd_wnd (const tcp_connection_t *tc) |
|
static u32 | tcp_available_output_snd_space (const tcp_connection_t *tc) |
|
static u32 | tcp_available_cc_snd_space (const tcp_connection_t *tc) |
| Estimate of how many bytes we can still push into the network. More...
|
|
static u8 | tcp_is_lost_fin (tcp_connection_t *tc) |
|
static u32 | tcp_time_tstamp (u32 thread_index) |
| Time used to generate timestamps, not the timestamp. More...
|
|
static u32 | tcp_tstamp (tcp_connection_t *tc) |
| Generate timestamp for tcp connection. More...
|
|
static f64 | tcp_time_now_us (u32 thread_index) |
|
static void | tcp_set_time_now (tcp_worker_ctx_t *wrk, f64 now) |
|
static void | tcp_update_time_now (tcp_worker_ctx_t *wrk) |
|
static tcp_connection_t * | tcp_input_lookup_buffer (vlib_buffer_t *b, u8 thread_index, u32 *error, u8 is_ip4, u8 is_nolookup) |
|
static void | tcp_init_w_buffer (tcp_connection_t *tc, vlib_buffer_t *b, u8 is_ip4) |
| Initialize connection by gleaning network and rcv params from buffer. More...
|
|
static void | tcp_update_rto (tcp_connection_t *tc) |
|
static u8 | tcp_is_descheduled (tcp_connection_t *tc) |
|
static void * | vlib_buffer_push_tcp_net_order (vlib_buffer_t *b, u16 sp, u16 dp, u32 seq, u32 ack, u8 tcp_hdr_opts_len, u8 flags, u16 wnd) |
| Push TCP header to buffer. More...
|
|
static void * | vlib_buffer_push_tcp (vlib_buffer_t *b, u16 sp_net, u16 dp_net, u32 seq, u32 ack, u8 tcp_hdr_opts_len, u8 flags, u16 wnd) |
| Push TCP header to buffer. More...
|
|