qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] net: add raw backend


From: Or Gerlitz
Subject: Re: [Qemu-devel] [PATCH] net: add raw backend
Date: Thu, 02 Jul 2009 15:25:43 +0300
User-agent: Thunderbird 2.0.0.19 (X11/20081209)

Jamie Lokier wrote:
> It looks like it would be functionally identical to the pcap network backend, 
> with the same advantages and problems, but one less dependency on an external
> library (and removes any compatibility with ancient kernels that are in 
> libpcap, 
> but QEMU doesn't work on them anyway).

Assuming that by "pcap network backend" you refer to the -net dump backend, I 
don't think this (the idea/patch being functionally identical) is the case with 
the current code: the dump backend opens a file and writes there packets 
received from the vlan in pcap format, that's all. So first, there's no direct 
linking with libpcap, and more important, the packets aren't going to the 
network through the dump backend. With the raw backend, there's no pcap file, 
but packets are sent to and received from the network through packet socket.

Or.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]