Expand description
Dynamic interface add/remove watcher (Linux netlink; stubs on other platforms). Dynamic network interface add/remove watcher.
When watch_interfaces is enabled in [face_system], the router spawns a
background task that subscribes to OS network interface events and notifies
the face system when interfaces appear or disappear.
§Platform support
- Linux:
RTMGRP_LINKnetlink socket (RTM_NEWLINK / RTM_DELLINK). - macOS: not yet supported — logs a warning and the task exits.
- Windows: not yet supported — logs a warning and the task exits.
Enums§
- Interface
Event - An interface lifecycle event delivered by the watcher task.
Functions§
- watch_
interfaces - Spawn an async task that watches for interface add/remove events.