Expand description
Netstack3 core Datagram sockets.
This crate contains the shared base implementation between UDP and ICMP Echo sockets.
Structs§
- State associated with a Bound Socket.
- Information associated with a datagram connection.
- State associated with a connected socket.
- The shared datagram socket API.
- Identifies a flow for a datagram socket.
- A datagram socket’s options.
- A set containing all datagram sockets for a given implementation.
- A connected socket was expected.
- An unbound socket was expected.
- The error returned when an identifier (i.e.) port is already in use.
- A datagram socket’s IP options.
- Information associated with a datagram listener.
- Top-level struct kept in datagram socket references.
- A wrapper to make [
DualStackIpExt::OtherStackIpOptions
]GenericOverIp
. - A wrapper to make [
DualStackIpExt::OtherStackIpOptions
]GenericOverIp
.
Enums§
- State for the sub-types of bound socket (e.g. Listener or Connected).
- An error when attempting to create a datagram socket.
- Connection state belong to either this-stack or the other-stack.
- An IP Socket ID that is either
Ipv4
orIpv6
. - Selector for the device to affect when changing multicast settings.
- Selector for the device to use when changing multicast membership settings.
- Error encountered when sending a datagram on a socket.
- An error encountered while sending a datagram packet to an alternate address.
- Error resulting from attempting to change multicast membership settings for a socket.
- Information about the addresses for a socket.
- A datagram socket’s state.
Traits§
- The core context providing access to bound datagram sockets.
- Types and behavior for datagram socket demultiplexing map.
- Types and behavior for datagram sockets.
- A mirror trait of
DatagramBoundStateContext
allowing foreign crates to provide blanket impls for it. - A mirror trait of
DatagramStateContext
allowing foreign crates to provide blanket impls for it. - The core context providing access to datagram socket state.
- A marker trait for the requirements of
DualStackDatagramBoundStateContext::ds_converter
. - Provides access to dual-stack socket state.
- A mirror trait of
DualStackDatagramBoundStateContext
allowing foreign crates to provide blanket impls for it. - A marker trait for dual-stack socket features.
- Marker trait for datagram IP extensions.
- A marker trait for the requirements of
NonDualStackDatagramBoundStateContext::nds_converter
. - Provides access to socket state for a single IP version.
- A mirror trait of
NonDualStackDatagramBoundStateContext
allowing foreign crates to provide blanket impls for it.
Type Aliases§
- Datagram demultiplexing map.
- A convenient alias for a strong reference to a datagram socket.
- A convenient alias for a weak reference to a datagram socket.