Onload TCP supports the following TCP options which can be used in the
getsockopt() function calls
|Stops sends on segments less than MSS size until the connection is uncorked.
|A connection is ESTABLISHED after handshake is complete instead of leaving it in SYN-RECV until the first real data packet arrives. The connection is placed in the accept queue when the first data packet arrives.
|Populates an internal data structure with tcp statistic values.
|How long to try to produce a successful keepalive before giving up.
|Specifies the idle time for keepalive timers.
|Number of keepalives before giving up.
|Idle time for keepalives.
|Time between keepalives.
|Gets the MSS size for this connection.
|Disables Nagle’s Algorithm and small segments are sent without delay and without waiting for previous segments to be acknowledged.
|When enabled ACK messages are sent immediately following reception of the next data packet. This flag will be reset to zero following every use. It is a one time option. New connections start in a mode where all packets are acknowledged, and so this value initially defaults to 1.