API Reference vintage_net v0.11.1

Modules

VintageNet is network configuration library built specifically for Nerves Project devices. It has the following features

Core logic for determining internet connectivity based on check results

This module looks at the network activity of all TCP socket connections known to Erlang/OTP to deduce whether the internet is working.

This GenServer monitors a network interface for Internet connectivity

This GenServer monitors a network interface for LAN connectivity

Test connectivity by making a connection using TCP

This module contains utilities for handling IP addresses.

This is a helper module for VintageNet.Technology implementations that use a DHCP server.

This is a helper module for VintageNet.Technology implementations that use the Busybox DNS server.

This is a helper module for VintageNet.Technology implementations that use IPv4.

Manage a network interface at a very high level

The CommandRunner module runs commands specified in RawConfigs

Status of an EAP connection.

Wrap MuonTrap.Daemon to start and stop a program based on whether the network is up

Module for classifying network interfaces

Raw configuration for an interface

Wrapper around the ip command for renaming interfaces

Monitor available interfaces

This module manages the contents of "/etc/resolv.conf".

A behaviour for handling notifications from udhcpc

A behaviour for handling notifications from udhcpd

Customize the way VintageNet saves and loads configurations

Save and load configurations from flat files

Don't save or load configuration at all.

This is a behaviour for implementing platform-specific power management.

Power management control GenServer

Supervision for all of the power management controllers

Handles predictable interface names by subscribing to the property table and renaming matching interface names based on the configuration in application environment.

PropertyTables are in-memory key-value stores

Types for handling routing tables

This module computes the desired routing table contents

Default module for prioritizing network interfaces

This module knows how to invoke the ip command to modify the Linux routing tables

Routing information for an interface

This module contains helpers for updating the global routing properties.

This module manages the default route.

Technologies define how network interface types work

An interface with this technology is unconfigured