diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:28 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:45 -0500 |
commit | e65b3854303b1437b1d221605bd99810dddcab6e (patch) | |
tree | 26238afbf7dfa0ab71531ddb90b76cbe9def6be0 /main.h | |
parent | 12531b49b9735ade00b3dd565c00745bb04459e0 (diff) | |
download | slirp-e65b3854303b1437b1d221605bd99810dddcab6e.zip slirp-e65b3854303b1437b1d221605bd99810dddcab6e.tar.gz slirp-e65b3854303b1437b1d221605bd99810dddcab6e.tar.bz2 |
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 'main.h')
-rw-r--r-- | main.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |