aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-11-03 13:41:40 +0000
committerDaniel P. Berrange <berrange@redhat.com>2011-11-18 16:10:02 +0000
commit91904106a2f15d9b589b4ba52b329786c10b6169 (patch)
treeee2c75b1c856210fe46c8627d84d99100449e066 /src/nwfilter/nwfilter_gentech_driver.c
parentMove functions for dealing with physical/virtual devices (diff)
downloadlibvirt-91904106a2f15d9b589b4ba52b329786c10b6169.tar.gz
libvirt-91904106a2f15d9b589b4ba52b329786c10b6169.tar.bz2
libvirt-91904106a2f15d9b589b4ba52b329786c10b6169.zip
Move ifaceMacvtapLinkDump and ifaceGetNthParent functions
Move the ifaceMacvtapLinkDump and ifaceGetNthParent functions into virnetdevvportprofile.c since they are specific to that code. This avoids polluting the headers with the Linux specific netlink data types * src/util/interface.c, src/util/interface.h: Move ifaceMacvtapLinkDump and ifaceGetNthParent functions and delete remaining file * src/util/virnetdevvportprofile.c: Add ifaceMacvtapLinkDump and ifaceGetNthParent functions * src/network/bridge_driver.c, src/nwfilter/nwfilter_gentech_driver.c, src/nwfilter/nwfilter_learnipaddr.c, src/util/virnetdevmacvlan.c: Remove include of interface.h
Diffstat (limited to 'src/nwfilter/nwfilter_gentech_driver.c')
-rw-r--r--src/nwfilter/nwfilter_gentech_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nwfilter/nwfilter_gentech_driver.c b/src/nwfilter/nwfilter_gentech_driver.c
index 5a9cc88b0..4abc6f28e 100644
--- a/src/nwfilter/nwfilter_gentech_driver.c
+++ b/src/nwfilter/nwfilter_gentech_driver.c
@@ -28,13 +28,13 @@
#include "memory.h"
#include "logging.h"
-#include "interface.h"
#include "domain_conf.h"
#include "virterror_internal.h"
#include "nwfilter_gentech_driver.h"
#include "nwfilter_ebiptables_driver.h"
#include "nwfilter_learnipaddr.h"
#include "virnetdev.h"
+#include "datatypes.h"
#define VIR_FROM_THIS VIR_FROM_NWFILTER