slirp: Adding family argument to tcp_fconnect()
commitcc573a6924da3f487410c27e2dc0e2aeeeb55b06
authorGuillaume Subiron <maethor@subiron.org>
Sat, 19 Dec 2015 21:25:03 +0000 (19 22:25 +0100)
committerJason Wang <jasowang@redhat.com>
Thu, 4 Feb 2016 06:13:11 +0000 (4 14:13 +0800)
tree9160dc0a7c22e1fa5887db99cacafd4d048101c1
parent9b5a30dc41c7455a17c88ed1a3677ba5f937f31d
slirp: Adding family argument to tcp_fconnect()

This patch simply adds a unsigned short family argument to remove the hardcoded
"AF_INET" in the call of qemu_socket().

This prepares for IPv6 support.

Signed-off-by: Guillaume Subiron <maethor@subiron.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
slirp/slirp.h
slirp/tcp_input.c
slirp/tcp_subr.c