vintage_net v0.2.1 VintageNet.InterfacesMonitor

Monitor available interfaces

Currently this works by polling the system for what interfaces are visible. They may or may not be configured.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Return a list of interfaces

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

interfaces()
interfaces() :: [VintageNet.ifname()]

Return a list of interfaces

Link to this function

start_link(args)
start_link(any()) :: GenServer.on_start()