These patches is separated from "[PATCH v1 0/5] make slirp subsystem self-contained", as Paolo suggested. lists.nongnu.org/archive/html/qemu-devel/2013-08/msg00980.html
With them, we can fill the timeout of mainloop more precise, when slirp has to emulate tcp timeout problem. Liu Ping Fan (3): slirp: make timeout local slirp: define timeout as macro slirp: fill mainloop timeout with more precise value main-loop.c | 2 +- slirp/slirp.c | 43 +++++++++++++++++++++++++++++++------------ slirp/slirp.h | 3 +++ 3 files changed, 35 insertions(+), 13 deletions(-) -- 1.8.1.4