Module config

Module config 

Source
Expand description

Network configuration helpers.

Applies IP/gateway/DNS/netmask settings and handles deferred IP assignment until an interface is registered.

Structsยง

PendingNetworkConfig ๐Ÿ”’

Staticsยง

PENDING_CONFIG ๐Ÿ”’

Functionsยง

apply_cmdline_config
Apply network configuration from the kernel command line.
apply_pending_ip ๐Ÿ”’
apply_pending_ip_for_interface
netmask_to_prefix ๐Ÿ”’
Convert netmask to CIDR prefix length
parse_ipv4 ๐Ÿ”’
set_interface_ip
set_interface_ip_with_mask
Set IP address with netmask on a network interface