Expand description
A networking stack.
Modules§
- device
- The device layer.
- device_
socket - Device socket API.
- error
- Generic netstack errors.
- filter
- Framework for packet filtering.
- icmp
- Methods for dealing with ICMP sockets.
- inspect
- Facilities for inspecting stack state for debugging.
- ip
- The Internet Protocol, versions 4 and 6.
- neighbor
- Types and utilities for dealing with neighbors.
- routes
- Types and utilities for dealing with routes.
- socket
- Common types for dealing with sockets.
- sync
- Useful synchronization primitives.
- tcp
- Methods for dealing with TCP sockets.
- types
- Miscellaneous and common types.
- udp
- Methods for dealing with UDP sockets.
Macros§
- for_
any_ device_ id - Evaluates the expression for the given device_id, regardless of its variant.
Structs§
- CoreApi
- The single entry point for function calls into netstack3 core.
- CtxPair
- A concrete implementation of
ContextPair
. - Stack
State - The state associated with the network stack.
- Stack
State Builder - A builder for
StackState
. - TimerId
- The identifier for any timer event.
- TxMetadata
- The frame metadata type for frames traversing the stack.
Traits§
- Atomic
Instant - A type representing an instant in time that can be atomically updated.
- Bindings
Context - The execution context provided by bindings.
- Bindings
Types - A marker trait for all the types stored in core objects that are specified by bindings.
- Core
Context - A marker trait for core context implementations.
- Deferred
Resource Removal Context - A context trait that allows core to defer observing proper resource cleanup to bindings.
- Event
Context - A context for emitting events.
- Inspector
- A trait abstracting a state inspector.
- Instant
- A type representing an instant in time.
- Instant
Bindings Types - Trait defining the
Instant
type provided by bindings’InstantContext
implementation. - Instant
Context - A context that provides access to a monotonic clock.
- IpBindings
Context - The execution context provided by bindings for a given IP version.
- IpExt
- A marker for extensions to IP types.
- Reference
Notifiers - A context trait determining the types to be used for reference notifications.
- RngContext
- A context that provides a random number generator (RNG).
- Timer
Bindings Types - Opaque types provided by bindings used by
TimerContext
. - Timer
Context - A context providing time scheduling to core.
- Tracing
Context - A context for emitting tracing data.
- TxMetadata
Bindings Types - A trait abstracting TX frame metadata when traversing the stack.
Type Aliases§
- CoreCtx
- Provides access to core context implementations.
- Unlocked
Core Ctx - An alias for an unlocked
CoreCtx
.
Attribute Macros§
- context_
ip_ bounds - Generates common bounds for
netstack3_core::UnlockedCoreCtx
.