libnm-util: add missing device types to NMDeviceType
authorThomas Haller <thaller@redhat.com>
Tue, 23 Feb 2016 14:26:37 +0000 (15:26 +0100)
committerThomas Haller <thaller@redhat.com>
Tue, 23 Feb 2016 14:26:49 +0000 (15:26 +0100)
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>
libnm-util/NetworkManager.h

index 8101082..8b083b9 100644 (file)
@@ -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;
 
 /**