From c92ef6a22d3c71538fcc48fb61ad353f7ba03b62 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 24 Jun 2009 14:42:28 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- slirp/main.h | 1 + 1 file changed, 1 insertion(+) (limited to 'slirp/main.h') 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; -- cgit v1.2.1