Statistics
| Branch: | Revision:

root / slirp @ 9f4facbc

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 5.9 kB
if.h 636 Bytes
ip.h 7.4 kB
ip_icmp.c 12 kB
ip_icmp.h 6.2 kB
ip_input.c 16.4 kB
ip_output.c 4.8 kB
libslirp.h 2 kB
main.h 1.1 kB
mbuf.c 4.5 kB
mbuf.h 4.3 kB
misc.c 10.2 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
2cc6e0a1 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_write() -> qemu_chr_fe_write()

Signed-off-by: Anthony Liguori <>

aec7c6dc 08/21/2011 10:19 pm Blue Swirl

Merge branch 'queues/slirp' of git://git.kiszka.org/qemu

  • 'queues/slirp' of git://git.kiszka.org/qemu:
    slirp: Fix bit field types in IP header structs
7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

1b930bfa 08/15/2011 09:34 am Jan Kiszka

slirp: Fix bit field types in IP header structs

-mms-bitfields prevents that the bitfields in current IP header structs
are packed into a single byte as it is required. Fix this by using
uint8_t as backing type.

Signed-off-by: Jan Kiszka <>

e3a110b5 08/05/2011 03:05 pm Jan Kiszka

slirp: Only start packet expiration for delayed ones

The expiration timeout must only affect packets that are queued due to
pending ARP resolutions. The old version broke ping e.g.

Signed-off-by: Jan Kiszka <>

fd593879 08/05/2011 03:04 pm Jan Kiszka

slirp: Read current time only once per if_start call

No need to update the current time for each packet we send from the
queue. Processing time is comparably short.

Signed-off-by: Jan Kiszka <>

5a371a2e 08/05/2011 01:51 pm Jan Kiszka

slirp: Fix types of IP address parameters

Should be uint32_t for IPv4, not int. Also avoid in_addr_t without
proper includes. Fixes build regression on mingw32.

Signed-off-by: Jan Kiszka <>

1ab74cea 08/03/2011 01:57 pm Fabien Chouteau

Delayed IP packets

In the current implementation, if Slirp tries to send an IP packet to a client
with an unknown hardware address, the packet is simply dropped and an ARP
request is sent (if_encap in slirp/slirp.c).

With this patch, Slirp will send the ARP request, re-queue the packet and try...

1a0ca1e1 08/03/2011 01:57 pm Fabien Chouteau

Simple ARP table

This patch adds a simple ARP table in Slirp and also adds handling of
gratuitous ARP requests.

Signed-off-by: Fabien Chouteau <>
Signed-off-by: Jan Kiszka <>

cf2846b5 07/27/2011 12:10 pm Stefan Weil

slirp: Fix unusual "comments" in unused code

cppcheck detected two rather strange comments which were not
correctly written as C comments.

They did not cause any harm because they were framed by
#ifdef notdef ... #endif, so they were never compiled.

Fix them nevertheless (we could also remove the unused code)....

View revisions

Also available in: Atom