summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-macvlan.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-10-01 11:06:42 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2015-12-09 14:30:08 +0100
commit4de8851eca06d797f1a3c89f5710d51018ca2bff (patch)
tree880f7fa8f2bd89d444917e56d74c6101bed64cb6 /src/devices/nm-device-macvlan.h
parent387105601980a69b02cfdbfcea63edfd2f801d73 (diff)
device/macvlan: support device creation
Diffstat (limited to 'src/devices/nm-device-macvlan.h')
-rw-r--r--src/devices/nm-device-macvlan.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/nm-device-macvlan.h b/src/devices/nm-device-macvlan.h
index 189a9df02..89f670bd8 100644
--- a/src/devices/nm-device-macvlan.h
+++ b/src/devices/nm-device-macvlan.h
@@ -21,7 +21,7 @@
#ifndef __NETWORKMANAGER_DEVICE_MACVLAN_H__
#define __NETWORKMANAGER_DEVICE_MACVLAN_H__
-#include "nm-device-generic.h"
+#include "nm-device.h"
G_BEGIN_DECLS
@@ -35,9 +35,10 @@ G_BEGIN_DECLS
#define NM_DEVICE_MACVLAN_PARENT "parent"
#define NM_DEVICE_MACVLAN_MODE "mode"
#define NM_DEVICE_MACVLAN_NO_PROMISC "no-promisc"
+#define NM_DEVICE_MACVLAN_TAP "tap"
-typedef NMDeviceGeneric NMDeviceMacvlan;
-typedef NMDeviceGenericClass NMDeviceMacvlanClass;
+typedef NMDevice NMDeviceMacvlan;
+typedef NMDeviceClass NMDeviceMacvlanClass;
GType nm_device_macvlan_get_type (void);