Statistics
| Branch: | Revision:

root / slirp @ a42e9c41

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.3 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.5 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.8 kB
udp.h 3.2 kB

Latest revisions

# Date Author Comment
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....

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 <>...

0e44486c 07/19/2013 11:52 am Michael Tokarev

slirp: remove mbuf(m_hdr,m_dat) indirection

b5a87d26 06/19/2013 01:44 pm Gertjan Halkes

make user networking hostfwd work with restrict=y

This patch allows the hostfwd option to override the restrict=y setting in
the user network stack, as explicitly stated in the documentation on the
restrict option:

restrict=on|off
If this option is enabled, the guest will be isolated, i.e. it...
a9c34e44 06/01/2013 01:25 pm Michael Tokarev

slirp: cleanup leftovers from misc.h

There are quite a few leftover declarations in slirp/misc.h.
Remove them.

Signed-off-by: Michael Tokarev <>

View revisions

Also available in: Atom