summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-21 19:56:44 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-21 19:56:44 +0000
commitd4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad (patch)
treefaf77b3abd535a8ce9ff69f69854101444b44c5a /net.h
parent764a4d1deb9304918f3b09b5da6f63fa3a6b4d86 (diff)
downloadqemu-d4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad.tar.gz
qemu-d4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad.tar.bz2
qemu-d4ebe1934a89b1ab699a9485c85c42f1ec9ae2ad.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.h b/net.h
index fe5ece7c0e..cdf63a4b1e 100644
--- a/net.h
+++ b/net.h
@@ -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);