diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-22 17:43:42 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:29:01 -0500 |
commit | 70783b9c9be31e98421f17327a1127021abae672 (patch) | |
tree | 39b7f53aa54d90bea4cf0e7ecf313c57ffc74e19 /hw/mipsnet.c | |
parent | net: add an API for 'raw' packets (diff) | |
download | qemu-kvm-70783b9c9be31e98421f17327a1127021abae672.tar.gz qemu-kvm-70783b9c9be31e98421f17327a1127021abae672.tar.bz2 qemu-kvm-70783b9c9be31e98421f17327a1127021abae672.zip |
net: add receive_raw parameter to qemu_new_vlan_client()
Trivial patch to allow supplying a receive_raw function.
A future cleanup should combine this function pointer parameters into a
table.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mipsnet.c')
-rw-r--r-- | hw/mipsnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mipsnet.c b/hw/mipsnet.c index d32099f66..65e1d5960 100644 --- a/hw/mipsnet.c +++ b/hw/mipsnet.c @@ -267,7 +267,7 @@ void mipsnet_init (int base, qemu_irq irq, NICInfo *nd) nd->vlan, nd->netdev, nd->model, nd->name, mipsnet_can_receive, mipsnet_receive, - NULL, mipsnet_cleanup, s); + NULL, NULL, mipsnet_cleanup, s); } else { s->vc = NULL; } |