VintageNet.Route.InterfaceInfo (vintage_net v0.10.5) View Source
Routing information for an interface
Link to this section Summary
Link to this section Types
Specs
t() :: %VintageNet.Route.InterfaceInfo{
default_gateway: :inet.ip_address() | nil,
interface_type: VintageNet.Interface.Classification.interface_type(),
ip_subnets: [{:inet.ip_address(), VintageNet.prefix_length()}],
status: VintageNet.Interface.Classification.connection_status(),
weight: VintageNet.Interface.Classification.weight()
}
Link to this section Functions
Specs
metric(t(), [ {:_ | :ethernet | :local | :mobile | :unknown | :wifi, :_ | :disconnected | :internet | :lan} ]) :: :disabled | pos_integer()