net/slirp: Use newer slirp_*_hostxfwd API
authorNicholas Ngai <nicholas@ngai.me>
Sat, 25 Sep 2021 21:48:20 +0000 (14:48 -0700)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 29 Apr 2024 00:04:58 +0000 (02:04 +0200)
commit03555199b63aa1fbce24d16287e141c33f572a24
tree165f1dc522f40c7f37d9fed30d4007b853d39cb9
parentfd87be1dada5672f877e03c2ca8504458292c479
net/slirp: Use newer slirp_*_hostxfwd API

libslirp provides a newer slirp_*_hostxfwd API meant for
address-agnostic forwarding instead of the is_udp parameter which is
limited to just TCP/UDP.

This paves the way for IPv6 and Unix socket support.

Signed-off-by: Nicholas Ngai <nicholas@ngai.me>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Breno Leitao <leitao@debian.org>
Message-Id: <20210925214820.18078-1-nicholas@ngai.me>
net/slirp.c