Expand description
Netstack3 core TCP.
This crate contains the TCP implementation for netstack3.
Structs§
- Information about a bound socket’s address.
- Information about the number of bytes in a
Buffer
. - Named tuple for holding sizes of buffers for a socket.
- Information about a connected socket’s address.
- TCP demux state.
- Socket options that are accessible on IPv6 sockets.
- A ZST that helps convert IPv6 socket IDs into IPv4 demux IDs.
- A generator of TCP initial sequence numbers.
- Possible error for calling
shutdown
on a not-yet connected socket. - Socket address includes the ip address and the port number.
- TCP socket options.
- Holds all the TCP socket states.
- The TCP socket API.
- The IP agnostic version of
TcpCounters
. - A TCP Socket ID.
- A thin wrapper around a hash map that keeps a set of all the known TCP sockets in the system.
- The state held by a TCP socket.
- Stack wide state supporting TCP.
- Information about an unbound socket.
- A Weak TCP Socket ID.
Enums§
- Possible errors for accept operation.
- Possible errors when connecting a socket.
- Possible errors when connecting a socket.
- Errors surfaced to the user.
- Errors for the listen operation.
- Possible errors when retrieving the original destination of a socket.
- Error returned when failing to set the bound device for a socket.
- Error returned when attempting to set the ReuseAddress option.
- Information about a socket.
- An implementation of [
IpTransportContext
] for TCP. - Timer ID for TCP connections.
Constants§
- Default lifetime for a orphaned connection in FIN_WAIT2.
Traits§
- Common super trait for both sending and receiving buffer.
- This trait allows us to work around the life-time issue when we need to convert an IPv6 socket ID into an IPv4 demux ID without holding on the a dual-stack CoreContext.
- A marker trait for dual-stack socket features.
- A conversion trait that converts the object that Bindings give us into a pair of receive and send buffers.
- A notifier used to tell Bindings about new pending connections for a single socket.
- A buffer supporting TCP receiving operations.
- A buffer supporting TCP sending operations.
- The bindings context for TCP.
- Bindings types for TCP.
- Core context for TCP.
- The core execution context abstracting demux state access for TCP.
- A provider of dualstack socket functionality required by TCP sockets.
Type Aliases§
- TCP Counters.