diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-06-18 18:21:35 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-22 10:15:30 -0500 |
commit | 783527a9ef5429837685744b3661318588f07890 (patch) | |
tree | 1951a10fb77c86d56f65a57ea35386af767d2e56 /net.h | |
parent | 0df0ff6de70393680cea81ad696d9d74b75f88da (diff) |
net: add packet length to NetPacketSent callback
virtio-net needs this - for the same purpose that it currently uses the
return value from qemu_sendv_packet().
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ struct VLANClientState { typedef struct VLANPacket VLANPacket; -typedef void (NetPacketSent) (VLANClientState *); +typedef void (NetPacketSent) (VLANClientState *, ssize_t); struct VLANPacket { struct VLANPacket *next; |