vintage_net v0.5.1 API Reference

Modules

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

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

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

Manage a network interface at a very high level

Module for classifying and prioritizing network interfaces

The CommandRunner module runs commands specified in RawConfigs

This GenServer monitors a network interface for Internet connectivity

This module contains functions for testing whether the Internet is available.

This GenServer monitors a network interface for LAN connectivity

Raw configuration for an interface

Monitor available interfaces

This module manages the contents of "/etc/resolv.conf". This file is used by the C library for resolving domain names and must be kept up-to-date as links go up and down. This module assumes exclusive ownership on "/etc/resolv.conf", so if any other code in the system tries to modify the file, their changes will be lost on the next update.

Customize the way VintageNet saves and loads configurations

Save and load configurations from flat files

Don't save or load configuration at all.

PropertyTables are in-memory key-value stores

This module computes the desired routing table contents

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

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

This GenServer routes messages from C and shell scripts to the appropriate places in VintageNet.

A behaviour for handling notifications from udhcpc

A behaviour for handling notifications from udhcpd

Information about a WiFi access point

Various utility functions for handling WiFi information

WPA2 preshared key calculations

Control a wpa_supplicant instance for an interface.

This modules provides a low-level interface for interacting with the wpa_supplicant