Statistics
| Branch: | Revision:

root / slirp @ 90d7416a

Name Size
COPYRIGHT 2.8 kB
arp_table.c 3.4 kB
bootp.c 9.1 kB
bootp.h 3.1 kB
cksum.c 3.8 kB
debug.h 865 Bytes
if.c 6 kB
if.h 569 Bytes
ip.h 7.3 kB
ip_icmp.c 12.2 kB
ip_icmp.h 6.2 kB
ip_input.c 16.4 kB
ip_output.c 4.8 kB
libslirp.h 1.6 kB
main.h 1.1 kB
mbuf.c 4.5 kB
mbuf.h 4.4 kB
misc.c 10 kB
misc.h 1.5 kB
sbuf.c 3.8 kB
sbuf.h 812 Bytes
slirp.c 30.7 kB
slirp.h 7.7 kB
slirp_config.h 4.2 kB
socket.c 17.5 kB
socket.h 3.4 kB
tcp.h 5.9 kB
tcp_input.c 41 kB
tcp_output.c 14.1 kB
tcp_subr.c 26.1 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 9.4 kB
tftp.h 698 Bytes
udp.c 9.7 kB
udp.h 3.2 kB

Latest revisions

# Date Author Comment
90d7416a 02/27/2012 03:55 pm David Gibson

slirp: Fix assertion failure on rejected DHCP requests

The guest network stack might DHCPREQUEST an address that the slirp built
in dhcp server can't let it have - for example if the guest has an old
leases file from another network configuration. In this case the dhcp...

79e7e937 02/27/2012 03:54 pm Jan Kiszka

slirp: Clean up ifs_init

Remove duplicate ifs_init macros, reimplement the logic as static inline
in mbuf.h.

CC: Zhi Yong Wu <>
CC: Michael S. Tsirkin <>
Signed-off-by: Jan Kiszka <>

b248ede2 02/27/2012 03:54 pm Jan Kiszka

slirp: Fix requeuing of batchq packets in if_start

In case we requeued a packet that was the head of a longer session
queue, we failed to restore this ordering. Also, we did not properly
deal with changes to Slirp::next_m.

Instead of a cumbersome roll back, this fix simply avoids any changes...

b87ffa16 02/27/2012 03:54 pm Jan Kiszka

slirp: Refactor if_start

Replace gotos with a while loop, fix coding style.

CC: Zhi Yong Wu <>
CC: Fabien Chouteau <>
Signed-off-by: Jan Kiszka <>

f293d8b1 02/24/2012 03:24 pm Alon Levy

slirp/misc: fix gcc __warn_memset_zero_len warnings

By removing memset altogether (Patch from Stefan Hajnoczi, tested
compile only by me).

Signed-off-by: Alon Levy <>
Signed-off-by: Stefan Hajnoczi <>

9f1134d4 02/08/2012 11:07 am Stefan Weil

slirp: Remove unused variable and unused code

9634d9031c140b24c7ca0d8872632207f6ce7275 disabled unused code.
This patch removes what was left.

If do_pty is 2, the function returns immediately, so any later checks
for do_pty == 2 will always fail and can be removed together with...

6612db12 02/08/2012 11:07 am Jan Kiszka

slirp: Prevent sending ICMP error replies to source-only addresses

This triggered the related assert in arp_table_search.

Signed-off-by: Jan Kiszka <>

d3b12f5d 10/21/2011 07:14 pm Paolo Bonzini

main-loop: create main-loop.c

Signed-off-by: Paolo Bonzini <>

2b440432 09/28/2011 02:11 pm Thomas Huth

slirp: Fix packet expiration

The two new variables "arp_requested" and "expiration_date" in the mbuf
structure have been added after the variable-sized "m_dat_" array. The
variables have to be added before the m_dat_ array instead.
Without this patch, the expiration_date gets clobbered by code that...

8d06d69b 09/28/2011 02:10 pm Jan Kiszka

slirp: Fix use after release on tcp_input

ti points into the m buffer. But the latter may already be released
right after the dodata: label. Move the test before the potential
release.

Signed-off-by: Jan Kiszka <>

View revisions

Also available in: Atom