Crate netcfg

source ·


Defines log levels.
Interface metrics.
Network Configuration state.


In this configuration, netcfg acts as the policy manager for netstack, watching for device events and configuring the netstack with new interfaces as needed on new device discovery. It does not implement any FIDL protocols.
In this configuration, netcfg implements the base functionality included in BasicMode, and also serves the protocol, allowing clients to create virtual networks.


Allows callers of netcfg::run to configure at compile time which features should be enabled.