diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-23 15:26:37 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-02-23 15:26:49 +0100 |
commit | 8852b219a25025cb9f4e0623bda819bfb615005c (patch) | |
tree | 113e01268f3147a5f590f3d7e4625c89f4298122 | |
parent | 71962881a84b3ea8f72d074f610e26fb35129524 (diff) | |
download | NetworkManager-8852b219a25025cb9f4e0623bda819bfb615005c.tar.gz |
libnm-util: add missing device types to NMDeviceType
Althoug we don't fully backport the new device types, at least
add the types to the NMDeviceType enum.
Based-on-patch-by: Jiří Klimeš <jklimes@redhat.com>
-rw-r--r-- | libnm-util/NetworkManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-util/NetworkManager.h b/libnm-util/NetworkManager.h index 8101082b77..8b083b91bf 100644 --- a/libnm-util/NetworkManager.h +++ b/libnm-util/NetworkManager.h @@ -153,6 +153,8 @@ typedef enum { * @NM_DEVICE_TYPE_TEAM: a team master interface * @NM_DEVICE_TYPE_TUN: a TUN/TAP interface * @NM_DEVICE_TYPE_IP_TUNNEL: an IP tunnel interface + * @NM_DEVICE_TYPE_MACVLAN: a MACVLAN interface + * @NM_DEVICE_TYPE_VXLAN: a VXLAN interface * * #NMDeviceType values indicate the type of hardware represented by * an #NMDevice. @@ -178,6 +180,8 @@ typedef enum { NM_DEVICE_TYPE_TEAM = 15, NM_DEVICE_TYPE_TUN = 16, NM_DEVICE_TYPE_IP_TUNNEL = 17, + NM_DEVICE_TYPE_MACVLAN = 18, + NM_DEVICE_TYPE_VXLAN = 19, } NMDeviceType; /** |