Statistics
| Branch: | Revision:

root / slirp @ 626187d8

Name Size
COPYRIGHT 2.8 kB
Makefile.objs 224 Bytes
arp_table.c 3.4 kB
bootp.c 9.5 kB
bootp.h 3.1 kB
cksum.c 3.8 kB
debug.h 865 Bytes
dnssearch.c 8.2 kB
if.c 6.8 kB
if.h 569 Bytes
ip.h 7.2 kB
ip_icmp.c 12.3 kB
ip_icmp.h 6.3 kB
ip_input.c 16.5 kB
ip_output.c 4.8 kB
libslirp.h 1.6 kB
main.h 1.1 kB
mbuf.c 4.9 kB
mbuf.h 4.1 kB
misc.c 9.2 kB
misc.h 1.1 kB
sbuf.c 4 kB
sbuf.h 812 Bytes
slirp.c 35.4 kB
slirp.h 7.6 kB
slirp_config.h 4.2 kB
socket.c 17.3 kB
socket.h 3.5 kB
tcp.h 6 kB
tcp_input.c 41.2 kB
tcp_output.c 14.1 kB
tcp_subr.c 26.4 kB
tcp_timer.c 8.5 kB
tcp_timer.h 5.3 kB
tcp_var.h 6.5 kB
tcpip.h 2.9 kB
tftp.c 10.3 kB
tftp.h 785 Bytes
udp.c 9.7 kB
udp.h 3.2 kB

Latest revisions

# Date Author Comment
59b00962 10/26/2013 12:06 pm Stefan Weil

misc: Spelling and grammar fixes in comments

  • it's -> its
  • grammar fix in ui/vnc-enc-zywrle.h

Signed-off-by: Stefan Weil <>
Reviewed-by: Don Koch <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Michael Tokarev <>

aad1239a 10/02/2013 08:20 pm Sebastian Ottlik

slirp: call socket_set_fast_reuse instead of setting SO_REUSEADDR

SO_REUSEADDR should be avoided on Windows but is desired on other operating
systems. So instead of setting it we call socket_set_fast_reuse that will result
in the appropriate behaviour on all operating systems....

a42e9c41 09/17/2013 01:26 pm Liu Ping Fan

slirp: set mainloop timeout with more precise value

If slirp needs to emulate tcp timeout, then the timeout value
for mainloop should be more precise, which is determined by
slirp's fasttimo or slowtimo. Achieve this by swap the logic
sequence of slirp_pollfds_fill and slirp_update_timeout....

426e3e6c 09/17/2013 01:26 pm Jan Kiszka

slirp: clean up slirp_update_timeout

No need to write out the timeout early, keep it local until we are done.

Signed-off-by: Jan Kiszka <>

fe0ff43c 09/17/2013 01:26 pm Liu Ping Fan

slirp: make timeout local

Each slirp has its own time to caculate timeout.

Signed-off-by: Liu Ping Fan <>
Signed-off-by: Jan Kiszka <>

9b0ca6cc 09/17/2013 01:26 pm Liu Ping Fan

slirp: define timeout as macro

Signed-off-by: Liu Ping Fan <>
Signed-off-by: Jan Kiszka <>

ed6bc28e 09/01/2013 06:09 pm Peter Maydell

slirp/arp_table.c: Avoid shifting into sign bit of signed integers

"0xf << 28" shifts right into the sign bit, since 0xf is a signed
integer. Use the 'U' suffix to force an unsigned shift to avoid
this undefined behaviour and a clang sanitizer warning.

Signed-off-by: Peter Maydell <>...

efcb7e45 09/01/2013 05:52 pm Taimoor Mirza

slirp: Port redirection option behave differently on Linux and Windows

port redirection code uses SO_REUSEADDR socket option before binding to
host port. Behavior of SO_REUSEADDR is different on Windows and Linux.
Relaunching QEMU with same host and guest port redirection values on Linux...

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

6a1751b7 08/22/2013 08:10 pm Alex Bligh

aio / timers: Untangle include files

include/qemu/timer.h has no need to include main-loop.h and
doing so causes an issue for the next patch. Unfortunately
various files assume including timers.h will pull in main-loop.h.
Untangle this mess.

Signed-off-by: Alex Bligh <>...

View revisions

Also available in: Atom