aboutsummaryrefslogtreecommitdiff
path: root/slirp/main.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:28 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:45 -0500
commitc92ef6a22d3c71538fcc48fb61ad353f7ba03b62 (patch)
tree867e01eb52981f2b493c745b5c0dadf97b492824 /slirp/main.h
parenta13a4126c8b94355bbe43e47275b97ce5bef003c (diff)
slirp: Rework external configuration interface
With the internal IP configuration made more flexible, we can now enhance the user interface. This patch adds a number of new options to "-net user": net (address and mask), host, dhcpstart, dns and smbserver. It also renames "redir" to "hostfwd" and "channel" to "guestfwd" in order to (hopefully) clarify their meanings. The format of guestfwd is extended so that the user can define not only the port but also the virtual server's IP address the forwarding starts from. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/main.h')
-rw-r--r--slirp/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp/main.h b/slirp/main.h
index edbb9cb39a..891220ae91 100644
--- a/slirp/main.h
+++ b/slirp/main.h
@@ -47,6 +47,7 @@ extern int ppp_exit;
extern int tcp_keepintvl;
extern uint8_t client_ethaddr[6];
extern int slirp_restrict;
+extern char slirp_hostname[33];
extern char *tftp_prefix;
extern char *bootp_filename;