vintage_net v0.6.2 VintageNet.Route.InterfaceInfo View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

metric(info, prioritization)

View Source
metric(
  atom()
  | %{interface_type: binary(), status: :disconnected | :internet | :lan},
  [
    {:_ | :ethernet | :local | :mobile | :unknown | :wifi,
     :_ | :disconnected | :internet | :lan}
  ]
) :: :disabled | pos_integer()