summaryrefslogtreecommitdiff
path: root/src/core/devices/nm-device-utils.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-08-06 15:17:05 +0200
committerThomas Haller <thaller@redhat.com>2021-08-24 10:19:39 +0200
commita5a62a80fc6943379872e45386117a520aacbf4c (patch)
treeec6fd43821cfccd10eb76c4dc0331f56c85ab750 /src/core/devices/nm-device-utils.h
parent1a3a229bc86e7581494ef541f4d08799a0464406 (diff)
downloadNetworkManager-next2.tar.gz
core: use NML3ConfigData (WIP)next2
Diffstat (limited to 'src/core/devices/nm-device-utils.h')
-rw-r--r--src/core/devices/nm-device-utils.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/devices/nm-device-utils.h b/src/core/devices/nm-device-utils.h
index 7200b0ea2c..759e610568 100644
--- a/src/core/devices/nm-device-utils.h
+++ b/src/core/devices/nm-device-utils.h
@@ -73,20 +73,17 @@ const char *nm_device_sys_iface_state_to_string(NMDeviceSysIfaceState sys_iface_
/*****************************************************************************/
-typedef enum {
+typedef enum _nm_packed {
NM_DEVICE_IP_STATE_NONE,
- NM_DEVICE_IP_STATE_WAIT,
- NM_DEVICE_IP_STATE_CONF,
- NM_DEVICE_IP_STATE_DONE,
- NM_DEVICE_IP_STATE_FAIL,
+ NM_DEVICE_IP_STATE_PENDING,
+ NM_DEVICE_IP_STATE_READY,
+ NM_DEVICE_IP_STATE_FAILED,
} NMDeviceIPState;
const char *nm_device_ip_state_to_string(NMDeviceIPState ip_state);
/*****************************************************************************/
-/*****************************************************************************/
-
void nm_device_resolve_address(int addr_family,
gconstpointer address,
GCancellable * cancellable,