c1eb0b3db0
Router now captures packets flowing through the network stack: - forward_packets(): capture all forwarded/local-delivered packets - Observer injected via Router::new() from Smolnetd constructor When /scheme/netcfg/capture/enable is written, all packets traversing the router are captured into the ring buffer. When disabled, zero overhead (AtomicBool check).
18 lines
389 B
Rust
18 lines
389 B
Rust
#![allow(dead_code)]
|
|
pub mod cmdbuff;
|
|
pub mod common;
|
|
pub mod device;
|
|
pub mod node;
|
|
pub mod stream;
|
|
pub mod verbs;
|
|
|
|
pub use self::node::*;
|
|
pub use self::stream::*;
|
|
|
|
pub use self::cmdbuff::*;
|
|
pub use self::device::IntelHDA;
|
|
pub use self::stream::BitsPerSample;
|
|
pub use self::stream::BufferDescriptorListEntry;
|
|
pub use self::stream::StreamBuffer;
|
|
pub use self::stream::StreamDescriptorRegs;
|