MNDP.Interface (mndp v0.2.0)

View Source

Summary

Types

t()

@type t() :: %MNDP.Interface{
  broadcast: :inet.ip4_address() | nil,
  ifname: term(),
  ip_v4: :inet.ip4_address(),
  mac: MNDP.mac() | nil
}

Functions

from_ifname(ifname)

@spec from_ifname(String.t()) :: {:ok, t()} | {:error, atom()}