Re: [Qemu-devel] difference between receive_raw() and receive() NetClientInfo methods ?

2013-06-07 Thread Stefan Hajnoczi
On Thu, Jun 06, 2013 at 11:40:37AM +0200, Luigi Rizzo wrote: > Can someone clarify what is the difference between the two methods > r > eceive_raw() and receive() in NetClientInfo ? receive_raw() builds an empty vnet header, if necessary. It is used to send a gratuitous ARP reply from inside QEMU

[Qemu-devel] difference between receive_raw() and receive() NetClientInfo methods ?

2013-06-06 Thread Luigi Rizzo
Can someone clarify what is the difference between the two methods r eceive_raw() and receive() in NetClientInfo ? tap seems to be the only backend actually implementing receive_raw(), but apart from prepending a vnet_hdr i cannot tell what is this for, and whether receive_raw() is a custom addon