View Source MNDP.CoreMonitor (mndp v0.1.2)
Core logic for network monitors
This module contains most of the logic needed for writing a network monitor.
It's only intended to be called from MNDP.InetMonitor
and
MNDP.VintageNetMonitor
.
Summary
Types
@type option() :: {:excluded_ifnames, [String.t()]}
Monitor options
:excluded_ifnames
- a list of network interface names to ignore
Functions
@spec flush_todo_list(state()) :: state()
@spec init([option()]) :: state()
@spec set_ip_list(state(), String.t(), [:inet.ip_address()]) :: state()