Module iface

Module iface 

Source
Expand description

Network interface enumeration and whitelist/blacklist filtering.

Used by the face system auto-configuration ([face_system] in TOML) to enumerate interfaces and apply whitelist/blacklist patterns. Network interface enumeration and name filtering.

Provides a cross-platform [list_interfaces] function and glob-based whitelist/blacklist filtering used by the face system auto-configuration.

Structs§

InterfaceInfo
Information about a single network interface.

Functions§

glob_match
Minimal glob matcher supporting * (any sequence) and ? (one char).
interface_allowed
Returns true if name passes the whitelist/blacklist filter.
list_interfaces
Enumerate all network interfaces on this host.