diff options
Diffstat (limited to 'net/vde.c')
-rw-r--r-- | net/vde.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -21,16 +21,15 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "net/vde.h" - #include "config-host.h" #include <libvdeplug.h> -#include "net.h" -#include "qemu-char.h" +#include "net/net.h" +#include "clients.h" #include "qemu-common.h" -#include "qemu-option.h" +#include "qemu/option.h" +#include "qemu/main-loop.h" typedef struct VDEState { NetClientState nc; @@ -40,7 +39,7 @@ typedef struct VDEState { static void vde_to_qemu(void *opaque) { VDEState *s = opaque; - uint8_t buf[4096]; + uint8_t buf[NET_BUFSIZE]; int size; size = vde_recv(s->vde, (char *)buf, sizeof(buf), 0); |