Expand description
§networkd module
All structs, enums and methods specific to systemd-networkd. Enumerations were copied from https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-network/network-util.h
Structs§
- Address
State Iter - An iterator over the variants of AddressState
- Admin
State Iter - An iterator over the variants of AdminState
- Bool
State Iter - An iterator over the variants of BoolState
- Carrier
State Iter - An iterator over the variants of CarrierState
- Interface
State - Main per interface networkd state structure
- Networkd
State - Main networkd structure with per interface state and a count of managed interfaces
- Online
State Iter - An iterator over the variants of OnlineState
- Oper
State Iter - An iterator over the variants of OperState
Enums§
- Address
State - Enumeration of networkd address states
- Admin
State - Enumeration of interface administratve states
- Bool
State - Enumeration of a true (yes) / false (no) options - e.g. required for online
- Carrier
State - Enumeration of networkd physical signal / state of interfaces
- Online
State - Enumeration of the networkd online state
- Oper
State - Enumeration of networkd’s operational state
Constants§
Functions§
- parse_
interface_ state_ files - Parse interface state files in directory supplied
- parse_
interface_ stats - Parse a networkd state file contents + convert int ID to name via DBUS
- update_
networkd_ stats - Async wrapper than can update networkd stats when passed a locked struct