VintageNet.InterfacesMonitor (vintage_net v0.11.3) View Source

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.

Force clear all addresses

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

force_clear_ipv4_addresses(ifname)

View Source

Specs

force_clear_ipv4_addresses(VintageNet.ifname()) :: :ok

Force clear all addresses

This is useful to notify everyone that an address should not be used immediately. This can be used to fix a race condition where the blip for an address going away to coming back isn't reported.

Specs

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