View Source MdnsLite.CoreMonitor (mdns_lite v0.8.11)
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 MdnsLite.InetMonitor
and
MdnsLite.VintageNetMonitor
.
Summary
Types
Monitor options
:excluded_ifnames
- a list of network interface names to ignore:ipv4_only
- set totrue
to ignore all IPv6 addresses
Functions
@spec flush_todo_list(state()) :: state()
@spec init([option()]) :: state()
@spec set_ip_list(state(), String.t(), [:inet.ip_address()]) :: state()
@spec unset_remaining_ifnames(state(), [String.t()]) :: state()