Skip to main content

Crate netui

Crate netui 

Source
Expand description

NetUI library exports for integration testing.

This library re-exports the main modules needed for integration tests while keeping the binary entry point in main.rs.

Re-exports§

pub use backend::BackendConfig;
pub use backend::BackendFactory;
pub use backend::PacketSink;
pub use backend::PacketSource;
pub use backend::PacketWithContext;
pub use error::AppResult;
pub use error::NetuiError;
pub use event::Event;
pub use event::ScannerEvent;
pub use event::SecurityAlert;
pub use event::SecurityAlertType;
pub use interface_utils::find_interface;
pub use mac_vendor::lookup_vendor;
pub use resolver::resolve_hostname;
pub use stats::ports::format_port_stats;
pub use stats::ports::PortStats;
pub use stats::session::SessionStats;
pub use stats::speed::format_size;
pub use stats::Direction;
pub use stats::IpPair;
pub use stats::Speed;
pub use stats::StatKey;
pub use stats::StatValues;
pub use stats::StatsMap;
pub use stats::TcpState;
pub use types::MacAddr;

Modules§

backend
constants
Global constants for the NetUI application.
error
Common error types for the application.
event
host
Host information structure shared between library and binary.
interface_utils
Network interface discovery and filtering utilities.
mac_vendor
MAC address vendor (OUI) lookup module.
resolver
DNS reverse lookup module.
scanner
Network scanner module for host discovery and packet capture.
stats
Statistics aggregation and formatting modules.
types

Macros§

trace_dbg
Similar to the std::dbg! macro, but generates tracing events rather than printing to stdout.