mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 22:11:53 -06:00
slirp: Rework internal configuration
The user mode IP stack is currently only minimally configurable /wrt to its virtual IP addresses. This is unfortunate if some guest has a fixed idea of which IP addresses to use. Therefore this patch prepares the stack for fully configurable IP addresses and masks. The user interface and default addresses remain untouched in this step, they will be enhanced in the following patch. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
ad196a9d0c
commit
a13a4126c8
13 changed files with 148 additions and 141 deletions
|
@ -32,9 +32,11 @@ extern char *slirp_tty;
|
|||
extern char *exec_shell;
|
||||
extern u_int curtime;
|
||||
extern fd_set *global_readfds, *global_writefds, *global_xfds;
|
||||
extern struct in_addr ctl_addr;
|
||||
extern struct in_addr special_addr;
|
||||
extern struct in_addr alias_addr;
|
||||
extern struct in_addr vnetwork_addr;
|
||||
extern struct in_addr vnetwork_mask;
|
||||
extern struct in_addr vhost_addr;
|
||||
extern struct in_addr vdhcp_startaddr;
|
||||
extern struct in_addr vnameserver_addr;
|
||||
extern struct in_addr our_addr;
|
||||
extern struct in_addr loopback_addr;
|
||||
extern struct in_addr dns_addr;
|
||||
|
@ -44,7 +46,6 @@ extern int towrite_max;
|
|||
extern int ppp_exit;
|
||||
extern int tcp_keepintvl;
|
||||
extern uint8_t client_ethaddr[6];
|
||||
extern const char *slirp_special_ip;
|
||||
extern int slirp_restrict;
|
||||
extern char *tftp_prefix;
|
||||
extern char *bootp_filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue