Add qemu_send_raw() to vlan
commit49482dc2c16b8b92d4dbc14c87882777041ea577
authorGleb Natapov <gleb@redhat.com>
Tue, 26 May 2009 10:03:02 +0000 (26 13:03 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 26 May 2009 12:20:07 +0000 (26 15:20 +0300)
tree803810a62cc5db00865cf2774abc999699c6a09f
parent9eb1cc26cb64f72367cd280d383327de02bc25b8
Add qemu_send_raw() to vlan

It gets packet without virtio header and adds it if needed.  Allows to
inject packets to vlan from outside. To send gratuitous arp for instance.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/virtio-net.c
net.c
net.h