Files
nx9-wg/crates/nx9-wg-network/src/lib.rs
T
2026-08-18 17:32:56 +05:30

16 lines
462 B
Rust

//! Route, firewall, and network management for nx9-wg.
pub mod engine;
pub mod error;
pub mod forwarding;
#[cfg(target_os = "linux")]
pub mod native_linux;
pub mod nftables;
pub use engine::{NativeLinuxNetworkEngine, NetworkEngine, SimulatedNetworkEngine};
pub use error::{NetworkError, Result};
pub use forwarding::IpForwardingStatus;
pub use nftables::{
CanonicalNftablesRuleset, NftablesRulesetBuilder, has_nftables_drift, normalize_rule_statement,
};