package
0.0.0-20180524224622-583358ac5197
Repository: https://github.com/costinm/netstack.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
FindWndScale determines the window scale to use for the given maximum window size.
NewForwarder allocates and initializes a new forwarder with the given maximum number of in-flight connection attempts.
TrimSACKBlockList updates the sack block list by removing/modifying any block where start is < rcvNxt.
UpdateSACKBlocks updates the list of SACK blocks to include the segment specified by segStart->segEnd.
# Constants
1MB.
InitialCwnd is the initial congestion window.
MaxSACKBlocks is the maximum number of SACK blocks stored at receiver side.
ProtocolName is the string representation of the tcp protocol name.
ProtocolNumber is the tcp protocol number.
# Variables
SynRcvdCountThreshold is the global maximum number of connections that are allowed to be in SYN-RCVD state before TCP starts using SYN cookies to accept connections.
# Structs
Forwarder is a connection request forwarder, which allows clients to decide what to do with a connection request, for example: ignore it, send a RST, or attempt to complete the 3-way handshake.
ForwarderRequest represents a connection request received by the forwarder and passed to the client.
ReceiveBufferSizeOption allows the default, min and max receive buffer size for TCP endpoints to be queried or configured.
SACKInfo holds TCP SACK related information for a given endpoint.
SendBufferSizeOption allows the default, min and max send buffer sizes for TCP endpoints to be queried or configured.
# Type aliases
SACKEnabled option can be used to enable SACK support in the TCP protocol.