summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-core/nm-setting.h')
-rw-r--r--libnm-core/nm-setting.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libnm-core/nm-setting.h b/libnm-core/nm-setting.h
index 5df73663cb..7b1d87d576 100644
--- a/libnm-core/nm-setting.h
+++ b/libnm-core/nm-setting.h
@@ -132,6 +132,22 @@ typedef enum {
/**
+ * NMSettingMacRandomization:
+ * @NM_SETTING_MAC_RANDOMIZATION_DEFAULT: the default value, which unless
+ * overridden by user-controlled defaults configuration, is "never".
+ * @NM_SETTING_MAC_RANDOMIZATION_NEVER: the device's MAC address is always used.
+ * @NM_SETTING_MAC_RANDOMIZATION_ALWAYS: a random MAC address is used.
+ *
+ * Controls if and how the MAC address of a device is randomzied.
+ **/
+typedef enum {
+ NM_SETTING_MAC_RANDOMIZATION_DEFAULT = 0,
+ NM_SETTING_MAC_RANDOMIZATION_NEVER,
+ NM_SETTING_MAC_RANDOMIZATION_ALWAYS,
+} NMSettingMacRandomization;
+
+
+/**
* NMSetting:
*
* The NMSetting struct contains only private data.