Crate netstack3_core
source ·Expand description
A networking stack.
Modules
- Execution contexts.
- Common data structures.
- The device layer.
- Custom error types for the netstack.
- The Internet Protocol, versions 4 and 6.
- General-purpose socket utilities common to device layer and IP layer sockets.
- Useful synchronization primitives.
- The transport layer.
Macros
- Map an expression over either version of one or more addresses.
Structs
- The state associated with the network stack.
- A builder for
StackState
. - The synchronized context.
- The identifier for any timer event.
Traits
- The non synchronized context for the stack with a buffer.
- The non synchronized context for the stack with a buffer.
- A type representing an instant in time.
- The non-synchronized context for the stack.
Functions
- Set the IP address and subnet for a device.
- Adds a route to the forwarding table.
- Delete an IP address on a device.
- Delete a route from the forwarding table, returning
Err
if no route was found to be deleted. - Get all IPv4 and IPv6 address/subnet pairs configured on a device
- Handles a generic timer event.