FD.io VPP  v21.01.1
Vector Packet Processing
tcp_configuration_ Struct Reference
+ Collaboration diagram for tcp_configuration_:

Data Fields

u32 max_rx_fifo
 Max rx fifo size for a session (in bytes). More...
 
u32 min_rx_fifo
 Min rx fifo for a session (in bytes) More...
 
u16 default_mtu
 Default MTU to be used when establishing connections. More...
 
u16 initial_cwnd_multiplier
 Initial CWND multiplier, which multiplies MSS to determine initial CWND. More...
 
u8 enable_tx_pacing
 Enable tx pacing for new connections. More...
 
u8 allow_tso
 Allow use of TSO whenever available. More...
 
u8 csum_offload
 Set if csum offloading is enabled. More...
 
tcp_cc_algorithm_type_e cc_algo
 Default congestion control algorithm type. More...
 
u32 rwnd_min_update_ack
 Min rwnd, as number of snd_mss segments, for update ack to be sent after a zero rwnd advertisement. More...
 
u32 closewait_time
 Timer ticks to wait for close from app. More...
 
u32 timewait_time
 Timer ticks to wait in time-wait. More...
 
u32 finwait1_time
 Timer ticks to wait in fin-wait1 to send fin and rcv fin-ack. More...
 
u32 lastack_time
 Timer ticks to wait in last ack for ack. More...
 
u32 finwait2_time
 Timer ticks to wait in fin-wait2 for fin. More...
 
u32 closing_time
 Timer ticks to wait in closing for fin ack. More...
 
f32 cleanup_time
 Time to wait (sec) before cleaning up the connection. More...
 
u32 preallocated_connections
 Number of preallocated connections. More...
 
u32 preallocated_half_open_connections
 Number of preallocated half-open connections. More...
 
u32 max_gso_size
 Maxium allowed GSO packet size. More...
 
ip4_address_tip4_src_addrs
 Vectors of src addresses. More...
 
ip6_address_t * ip6_src_addrs
 
f64 buffer_fail_fraction
 Fault-injection. More...
 

Detailed Description

Definition at line 134 of file tcp.h.

Field Documentation

◆ allow_tso

u8 tcp_configuration_::allow_tso

Allow use of TSO whenever available.

Definition at line 154 of file tcp.h.

◆ buffer_fail_fraction

f64 tcp_configuration_::buffer_fail_fraction

Fault-injection.

Debug only

Definition at line 201 of file tcp.h.

◆ cc_algo

tcp_cc_algorithm_type_e tcp_configuration_::cc_algo

Default congestion control algorithm type.

Definition at line 160 of file tcp.h.

◆ cleanup_time

f32 tcp_configuration_::cleanup_time

Time to wait (sec) before cleaning up the connection.

Definition at line 185 of file tcp.h.

◆ closewait_time

u32 tcp_configuration_::closewait_time

Timer ticks to wait for close from app.

Definition at line 167 of file tcp.h.

◆ closing_time

u32 tcp_configuration_::closing_time

Timer ticks to wait in closing for fin ack.

Definition at line 182 of file tcp.h.

◆ csum_offload

u8 tcp_configuration_::csum_offload

Set if csum offloading is enabled.

Definition at line 157 of file tcp.h.

◆ default_mtu

u16 tcp_configuration_::default_mtu

Default MTU to be used when establishing connections.

Definition at line 144 of file tcp.h.

◆ enable_tx_pacing

u8 tcp_configuration_::enable_tx_pacing

Enable tx pacing for new connections.

Definition at line 151 of file tcp.h.

◆ finwait1_time

u32 tcp_configuration_::finwait1_time

Timer ticks to wait in fin-wait1 to send fin and rcv fin-ack.

Definition at line 173 of file tcp.h.

◆ finwait2_time

u32 tcp_configuration_::finwait2_time

Timer ticks to wait in fin-wait2 for fin.

Definition at line 179 of file tcp.h.

◆ initial_cwnd_multiplier

u16 tcp_configuration_::initial_cwnd_multiplier

Initial CWND multiplier, which multiplies MSS to determine initial CWND.

Set 0 to determine the initial CWND by another way

Definition at line 148 of file tcp.h.

◆ ip4_src_addrs

ip4_address_t* tcp_configuration_::ip4_src_addrs

Vectors of src addresses.

Optional unless one needs > 63K active-opens

Definition at line 197 of file tcp.h.

◆ ip6_src_addrs

ip6_address_t* tcp_configuration_::ip6_src_addrs

Definition at line 198 of file tcp.h.

◆ lastack_time

u32 tcp_configuration_::lastack_time

Timer ticks to wait in last ack for ack.

Definition at line 176 of file tcp.h.

◆ max_gso_size

u32 tcp_configuration_::max_gso_size

Maxium allowed GSO packet size.

Definition at line 194 of file tcp.h.

◆ max_rx_fifo

u32 tcp_configuration_::max_rx_fifo

Max rx fifo size for a session (in bytes).

It is used in to compute the rfc 7323 window scaling factor

Definition at line 138 of file tcp.h.

◆ min_rx_fifo

u32 tcp_configuration_::min_rx_fifo

Min rx fifo for a session (in bytes)

Definition at line 141 of file tcp.h.

◆ preallocated_connections

u32 tcp_configuration_::preallocated_connections

Number of preallocated connections.

Definition at line 188 of file tcp.h.

◆ preallocated_half_open_connections

u32 tcp_configuration_::preallocated_half_open_connections

Number of preallocated half-open connections.

Definition at line 191 of file tcp.h.

◆ rwnd_min_update_ack

u32 tcp_configuration_::rwnd_min_update_ack

Min rwnd, as number of snd_mss segments, for update ack to be sent after a zero rwnd advertisement.

Definition at line 164 of file tcp.h.

◆ timewait_time

u32 tcp_configuration_::timewait_time

Timer ticks to wait in time-wait.

Also known as 2MSL

Definition at line 170 of file tcp.h.


The documentation for this struct was generated from the following file: