net-lattice-backend-linux
Linux backend for Net Lattice using Netlink and /etc/resolv.conf mechanisms.
It implements native inspection, mutation, and monitoring behind the generic
net-lattice-platform contracts.
What it provides
- interface, address, route, neighbor, and resolver inspection;
- route, address, and resolver mutation;
- Netlink change subscriptions and optional native async delivery;
- translation of native errors and state into portable Net Lattice types.
Applications should normally use the net-lattice facade, which selects this
backend automatically on Linux. Direct use is intended for backend integration
and diagnostics.
Direct usage
use InterfaceProvider;
Privileges and safety
Read-only operations generally require no elevated privilege. Mutations need the relevant Linux networking capabilities; resolver replacement also depends on filesystem permissions and the host resolver manager. Privileged tests are ignored in ordinary test runs and must restore any state they change.