summaryrefslogtreecommitdiff
path: root/shared/nm-meta-setting.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-12-27 16:48:30 +0100
committerThomas Haller <thaller@redhat.com>2019-02-22 11:00:10 +0100
commitb521f426ab228b003e1e87348e116291d23dc88b (patch)
treeb4e1d229a747e42dc441935838ad2dc16b2acfec /shared/nm-meta-setting.h
parent1d47643d954d69aa6be86a0f308111da9f926389 (diff)
downloadNetworkManager-b521f426ab228b003e1e87348e116291d23dc88b.tar.gz
libnm,cli: add NMSettingWireGuard
For now only add the core settings, no peers' data. To support peers and the allowed-ips of the peers is more complicated and will be done later. It's more complicated because these are nested lists (allowed-ips) inside a list (peers). That is quite unusual and to conveniently support that in D-Bus API, in keyfile format, in libnm, and nmcli, is a effort. Also, it's further complicated by the fact that each peer has a secret (the preshared-key). Thus we probably need secret flags for each peer, which is a novelty as well (until now we require a fixed set of secrets per profile that is well known).
Diffstat (limited to 'shared/nm-meta-setting.h')
-rw-r--r--shared/nm-meta-setting.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/nm-meta-setting.h b/shared/nm-meta-setting.h
index 883d8ca195..18727a1638 100644
--- a/shared/nm-meta-setting.h
+++ b/shared/nm-meta-setting.h
@@ -147,6 +147,7 @@ typedef enum {
NM_META_SETTING_TYPE_VXLAN,
NM_META_SETTING_TYPE_WIFI_P2P,
NM_META_SETTING_TYPE_WIMAX,
+ NM_META_SETTING_TYPE_WIREGUARD,
NM_META_SETTING_TYPE_WPAN,
NM_META_SETTING_TYPE_UNKNOWN,