slirp: Use internal state in interface
commit9f8bd0421dc03b2640ac2d0a4d702354a218b2ab
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:31 +0000 (24 14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:49 +0000 (29 08:52 -0500)
treeb866bf7d4864fac7a8313bdf04cca2f997242951
parent460fec67ee3807bb2eb189587ffe803a48f317e5
slirp: Use internal state in interface

This now also exports the internal state to the slirp users in qemu,
returning it from slirp_init and expecting it along with service
invocations. Additionally provide an opaque value interface for the
callbacks from slirp into the qemu core.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
slirp/if.c
slirp/libslirp.h
slirp/misc.c
slirp/slirp.c
slirp/slirp.h