#[repr(C)]pub struct Tcp4Option {Show 15 fields
pub receive_buffer_size: u32,
pub send_buffer_size: u32,
pub max_syn_back_log: u32,
pub connection_timeout: u32,
pub data_retries: u32,
pub fin_timeout: u32,
pub time_wait_timeout: u32,
pub keep_alive_probes: u32,
pub keep_alive_time: u32,
pub keep_alive_interval: u32,
pub enable_nagle: Boolean,
pub enable_time_stamp: Boolean,
pub enable_window_scaling: Boolean,
pub enable_selective_ack: Boolean,
pub enable_path_mtu_discovery: Boolean,
}Fields§
§receive_buffer_size: u32Size of the TCP receive buffer.
send_buffer_size: u32Size of the TCP send buffer.
max_syn_back_log: u32Maximum number of pending connections for passive instances.
connection_timeout: u32Connection timeout in seconds.
data_retries: u32Number of data retransmission attempts.
fin_timeout: u32FIN timeout in seconds.
time_wait_timeout: u32TIME_WAIT timeout in seconds.
keep_alive_probes: u32Number of keep-alive probes.
keep_alive_time: u32Time before sending keep-alive probes in seconds.
keep_alive_interval: u32Interval between keep-alive probes in seconds.
enable_nagle: BooleanSet to TRUE to enable Nagle algorithm.
enable_time_stamp: BooleanSet to TRUE to enable TCP timestamps.
enable_window_scaling: BooleanSet to TRUE to enable window scaling.
enable_selective_ack: BooleanSet to TRUE to enable selective acknowledgment.
enable_path_mtu_discovery: BooleanSet to TRUE to enable path MTU discovery.