diff options
author | Liu Ping Fan <qemulist@gmail.com> | 2013-08-25 10:01:19 +0800 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2013-09-17 12:26:04 +0200 |
commit | fe0ff43c9d8ccf45effdade8d40e44aed421187f (patch) | |
tree | 19fa01a57cb26f8b4eab101e92676459037f92d1 /slirp/slirp.h | |
parent | 2d1fe1873a984d1c2c89ffa3d12949cafc718551 (diff) | |
download | qemu-fe0ff43c9d8ccf45effdade8d40e44aed421187f.zip qemu-fe0ff43c9d8ccf45effdade8d40e44aed421187f.tar.gz qemu-fe0ff43c9d8ccf45effdade8d40e44aed421187f.tar.bz2 |
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>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r-- | slirp/slirp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h index fe0e65d..e4a1bd4 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -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; |