net-lattice-model 0.2.0

The domain model of operating system networking state (routes, interfaces, DNS, ...), with no operating-system dependency.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The domain model of operating system networking state.
//!
//! No operating-system dependency. Stage 0.4 adds the `mac` and `interface`
//! modules — `neighbor`, `dns`, and `event` are added in later stages per
//! ARCHITECTURE.md's Incremental Delivery Plan.

mod address;
pub mod interface;
pub mod mac;
pub mod route;

pub use address::{IpAddress, Network};
pub use interface::{AdminState, Interface, InterfaceId, InterfaceKind, OperationalState};
pub use mac::MacAddress;
pub use route::Route;