summaryrefslogtreecommitdiff
path: root/src/core/devices/nm-device-utils.h
diff options
context:
space:
mode:
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,