qemu-e2k/slirp
Ed Swierk aaf10d9d2e slirp: Use monotonic clock if available (v2)
Calling gettimeofday() to compute a time interval can cause problems if
the system clock jumps forwards or backwards; replace updtime() with
qemu_get_clock(rt_clock), which calls clock_gettime(CLOCK_MONOTONIC) if
it is available.

Also remove some useless macros.

Signed-off-by: Ed Swierk <eswierk@aristanetworks.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-07-27 14:09:15 -05:00
..
bootp.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
bootp.h slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
cksum.c
COPYRIGHT
debug.h
if.c slirp: Use internal state in interface 2009-06-29 08:52:49 -05:00
if.h slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
ip_icmp.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
ip_icmp.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00
ip_input.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
ip_output.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
ip.h slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
libslirp.h slirp: Fix guestfwd for incoming data 2009-07-27 14:08:23 -05:00
main.h slirp: Allocate/free stack instance dynamically 2009-06-29 08:52:49 -05:00
mbuf.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
mbuf.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00
misc.c slirp: Use internal state in interface 2009-06-29 08:52:49 -05:00
misc.h slirp: Remove UDP protocol emulation (talk, cuseeme) 2009-07-27 14:09:15 -05:00
sbuf.c
sbuf.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00
slirp_config.h slirp: Use monotonic clock if available (v2) 2009-07-27 14:09:15 -05:00
slirp.c slirp: Use monotonic clock if available (v2) 2009-07-27 14:09:15 -05:00
slirp.h slirp: Use monotonic clock if available (v2) 2009-07-27 14:09:15 -05:00
socket.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
socket.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00
tcp_input.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
tcp_output.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
tcp_subr.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
tcp_timer.c slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
tcp_timer.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00
tcp_var.h slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
tcp.h slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
tcpip.h
tftp.c slirp: tftp: Relax filename format check 2009-06-29 14:18:08 -05:00
tftp.h slirp: Factor out internal state structure 2009-06-29 08:52:49 -05:00
udp.c slirp: Remove UDP protocol emulation (talk, cuseeme) 2009-07-27 14:09:15 -05:00
udp.h Fix breakage by obsolete _P() for good 2009-07-01 19:11:17 +00:00