Expand description
Shared state between the NetWorker thread, smoltcp poll thread, and tokio proxy tasks.
All inter-thread communication flows through SharedState, which holds
lock-free frame queues and cross-platform WakePipe notifications.
Structs§
- Network
Metrics - Aggregate network byte counters shared with the runtime metrics sampler.
- Shared
State - All shared state between the three threads:
- Wake
Pipe - Cross-platform wake notification built on
pipe().
Constants§
- DEFAULT_
QUEUE_ CAPACITY - Default frame queue capacity. Matches libkrun’s virtio queue size.