mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
slirp: make timeout local
Each slirp has its own time to caculate timeout. Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
2d1fe1873a
commit
fe0ff43c9d
2 changed files with 13 additions and 12 deletions
|
@ -203,6 +203,9 @@ bool arp_table_search(Slirp *slirp, uint32_t ip_addr,
|
|||
|
||||
struct Slirp {
|
||||
QTAILQ_ENTRY(Slirp) entry;
|
||||
u_int time_fasttimo;
|
||||
u_int last_slowtimo;
|
||||
bool do_slowtimo;
|
||||
|
||||
/* virtual network configuration */
|
||||
struct in_addr vnetwork_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue