Crate netcfg

Source

Structs§

DnsConfig
FilterConfig
InterfaceId
Interface Identifier
InterfaceMetrics
LogLevel
Defines log levels.
Metric
Interface metrics.
NetCfg
Network Configuration state.
UnknownPortClassError

Enums§

BasicMode
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.
DeviceClass
InterfaceType
VirtualizationEnabled
In this configuration, netcfg implements the base functionality included in BasicMode, and also serves the fuchsia.net.virtualization/Control protocol, allowing clients to create virtual networks.

Traits§

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

Functions§

run