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 - Per-interface state collected from systemd-networkd state files in /run/systemd/netif/links/
- Networkd
State - Aggregated systemd-networkd state: per-interface details and total managed interface count
- Online
State Iter - An iterator over the variants of OnlineState
- Oper
State Iter - An iterator over the variants of OperState
Enums§
- Address
State - Address configuration state of a networkd-managed interface. Ref: https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-network/network-util.h
- Admin
State - Administrative state of a networkd-managed interface (networkd’s own management lifecycle). Ref: https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-network/network-util.h
- Bool
State - Enumeration of a true (yes) / false (no) options - e.g. required for online
- Carrier
State - Physical carrier (link layer) state of a networkd-managed interface. Ref: https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-network/network-util.h
- Monitord
Networkd Error - Online
State - Overall online state of the system as determined by systemd-networkd-wait-online logic. Ref: https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-network/network-util.h
- Oper
State - Operational state of a networkd-managed interface combining carrier and address information. Ref: https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-network/network-util.h
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