aboutsummaryrefslogtreecommitdiff
path: root/net/tap.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-24 08:43:34 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:31:29 +0100
commit1422e32db51ff2b1194fb24a6201c4310be5667d (patch)
tree56f9911d524eca4194573a6037303a169e61db50 /net/tap.c
parentfd9400b302ef582c3ae8a8d5288338ea5f0f4c9a (diff)
net: reorganize headers
Move public headers to include/net, and leave private headers in net/. Put the virtio headers in include/net/tap.h, removing the multiple copies that existed. Leave include/net/tap.h as the interface for NICs, and net/tap_int.h as the interface for OS-specific parts of the tap backend. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/tap.c')
-rw-r--r--net/tap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tap.c b/net/tap.c
index 5ff78934dc..f8cabc4f86 100644
--- a/net/tap.c
+++ b/net/tap.c
@@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
-#include "tap.h"
+#include "tap_int.h"
#include "config-host.h"
@@ -33,14 +33,14 @@
#include <sys/socket.h>
#include <net/if.h>
-#include "net.h"
+#include "net/net.h"
#include "clients.h"
#include "monitor.h"
#include "sysemu.h"
#include "qemu-common.h"
#include "qemu-error.h"
-#include "net/tap-linux.h"
+#include "net/tap.h"
#include "hw/vhost_net.h"