Crate netstack3_core
source ·Expand description
A networking stack.
Modules§
- The device layer.
- Device socket API.
- Generic netstack errors.
- Framework for packet filtering.
- Methods for dealing with ICMP sockets.
- Facilities for inspecting stack state for debugging.
- The Internet Protocol, versions 4 and 6.
- Types and utilities for dealing with neighbors.
- Types and utilities for dealing with routes.
- Common types for dealing with sockets.
- Useful synchronization primitives.
- Methods for dealing with TCP sockets.
- Miscellaneous and common types.
- Methods for dealing with UDP sockets.
Macros§
- Evaluates the expression for the given device_id, regardless of its variant.
Structs§
- The single entry point for function calls into netstack3 core.
- A concrete implementation of
ContextPair
. - The state associated with the network stack.
- A builder for
StackState
. - The identifier for any timer event.
Traits§
- A type representing an instant in time that can be atomically updated.
- The execution context provided by bindings.
- A marker trait for all the types stored in core objects that are specified by bindings.
- A marker trait for core context implementations.
- A context trait that allows core to defer observing proper resource cleanup to bindings.
- A context for emitting events.
- A trait abstracting a state inspector.
- A type representing an instant in time.
- Trait defining the
Instant
type provided by bindings’InstantContext
implementation. - A context that provides access to a monotonic clock.
- The execution context provided by bindings for a given IP version.
- A marker for extensions to IP types.
- A context trait determining the types to be used for reference notifications.
- A context that provides a random number generator (RNG).
- Opaque types provided by bindings used by
TimerContext
. - A context providing time scheduling to core.
- A context for emitting tracing data.
Type Aliases§
- Provides access to core context implementations.
- An alias for an unlocked
CoreCtx
.
Attribute Macros§
- Generates common bounds for
netstack3_core::UnlockedCoreCtx
.