]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
net: do not depend on slirp internals
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 14 Nov 2018 12:36:40 +0000 (16:36 +0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 13 Jan 2019 23:44:29 +0000 (00:44 +0100)
commite05ae1d9fb2b192f31e89a46c10d489500f3da19
treea4a719c9d578a3fd3fb59deed1d07867b7f82d4b
parent37b9117faa7348b33b64a2be03b2e69b568249d8
net: do not depend on slirp internals

Only slirp/libslirp.h should be included.

Instead of using some slirp declarations and utility functions directly,
let's copy them in net/util.h.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
net/colo-compare.c
net/colo.c
net/colo.h
net/filter-rewriter.c
net/slirp.c
net/util.h
stubs/slirp.c