diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-21 19:56:44 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-21 19:56:44 +0000 |
commit | d4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad (patch) | |
tree | faf77b3abd535a8ce9ff69f69854101444b44c5a /net.h | |
parent | 764a4d1deb9304918f3b09b5da6f63fa3a6b4d86 (diff) | |
download | qemu-d4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad.zip qemu-d4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad.tar.gz qemu-d4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad.tar.bz2 |
slirp: Enhance host-guest redirection setup (Jan Kiszka)
Allow to establish a TCP/UDP connection redirection also via a monitor
command 'host_net_redir'. Moreover, assume TCP as connection type if
that parameter is omitted.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7204 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ int net_client_init(const char *device, const char *p); void net_client_uninit(NICInfo *nd); int net_client_parse(const char *str); void net_slirp_smb(const char *exported_dir); -void net_slirp_redir(const char *redir_str); +void net_slirp_redir(Monitor *mon, const char *redir_str); void net_cleanup(void); int slirp_is_inited(void); void net_client_check(void); |