diff options
Diffstat (limited to 'src/libnm-core-public/nm-setting-connection.h')
| -rw-r--r-- | src/libnm-core-public/nm-setting-connection.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/libnm-core-public/nm-setting-connection.h b/src/libnm-core-public/nm-setting-connection.h index 6547c5be..51cf99fb 100644 --- a/src/libnm-core-public/nm-setting-connection.h +++ b/src/libnm-core-public/nm-setting-connection.h @@ -60,6 +60,7 @@ G_BEGIN_DECLS #define NM_SETTING_CONNECTION_MDNS "mdns" #define NM_SETTING_CONNECTION_LLMNR "llmnr" #define NM_SETTING_CONNECTION_DNS_OVER_TLS "dns-over-tls" +#define NM_SETTING_CONNECTION_DNSSEC "dnssec" #define NM_SETTING_CONNECTION_MPTCP_FLAGS "mptcp-flags" #define NM_SETTING_CONNECTION_WAIT_DEVICE_TIMEOUT "wait-device-timeout" #define NM_SETTING_CONNECTION_MUD_URL "mud-url" @@ -163,6 +164,24 @@ typedef enum { } NMSettingConnectionDnsOverTls; /** + * NMSettingConnectionDnssec: + * @NM_SETTING_CONNECTION_DNSSEC_DEFAULT: default value + * @NM_SETTING_CONNECTION_DNSSEC_NO: disable DNSSEC + * @NM_SETTING_CONNECTION_DNSSEC_ALLOW_DOWNGRADE: enable DNSSEC but allow fallback to non-DNSSEC mode + * @NM_SETTING_CONNECTION_DNSSEC_YES: force enable DNSSEC + * + * #NMSettingConnectionDnssec values indicate whether DNSSEC should be enabled. + * + * Since: 1.56 + */ +typedef enum { + NM_SETTING_CONNECTION_DNSSEC_DEFAULT = -1, + NM_SETTING_CONNECTION_DNSSEC_NO = 0, + NM_SETTING_CONNECTION_DNSSEC_ALLOW_DOWNGRADE = 1, + NM_SETTING_CONNECTION_DNSSEC_YES = 2, +} NMSettingConnectionDnssec; + +/** * NMSettingConnectionDownOnPoweroff: * @NM_SETTING_CONNECTION_DOWN_ON_POWEROFF_DEFAULT: default value * @NM_SETTING_CONNECTION_DOWN_ON_POWEROFF_NO: disable down-on-poweroff @@ -304,6 +323,9 @@ void nm_setting_connection_clear_ip_ping_addresses(NMSettingConnection *setting) NM_AVAILABLE_IN_1_52 NMTernary nm_setting_connection_get_ip_ping_addresses_require_all(NMSettingConnection *setting); +NM_AVAILABLE_IN_1_56 +NMSettingConnectionDnssec nm_setting_connection_get_dnssec(NMSettingConnection *setting); + G_END_DECLS #endif /* __NM_SETTING_CONNECTION_H__ */ |