Statistics
| Branch: | Revision:

root / slirp @ 997aba8e

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.5 kB
misc.c 9.2 kB
misc.h 1.5 kB
sbuf.c 4 kB
sbuf.h 812 Bytes
slirp.c 34.7 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 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
997aba8e 05/18/2013 03:35 pm Michael Tokarev

remove some double-includes

Some source files #include the same header more than
once for no good reason. Remove second #includes in
such cases.

Signed-off-by: Michael Tokarev <>

dccfcd0e 04/15/2013 07:19 pm Paolo Bonzini

sysemu: avoid proliferation of include/ subdirectories

Signed-off-by: Paolo Bonzini <>

f9e8cacc 04/02/2013 06:47 pm Stefan Hajnoczi

oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock()

The fcntl(fd, F_SETFL, O_NONBLOCK) flag is not specific to sockets.
Rename to qemu_set_nonblock() just like qemu_set_cloexec().

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Eric Blake <>...

9957fc7f 03/22/2013 02:14 pm Stefan Weil

MinGW: Replace setsockopt by qemu_setsocketopt

Instead of adding missing type casts which are needed by MinGW for the
4th argument, the patch uses qemu_setsockopt which was invented for this
purpose.

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

4ef7b894 03/04/2013 10:54 am MORITA Kazutaka

slirp/tcp_subr.c: fix coding style in tcp_connect

Fix coding style in tcp_connect before the next patch.

Signed-off-by: MORITA Kazutaka <>
Signed-off-by: Stefan Hajnoczi <>

bf1c852a 03/04/2013 10:54 am MORITA Kazutaka

move socket_set_nodelay to osdep.c

Signed-off-by: MORITA Kazutaka <>
Signed-off-by: Stefan Hajnoczi <>

7bd43ec2 02/26/2013 01:10 pm Jan Kiszka

slirp: Properly initialize pollfds_idx of new sockets

Otherwise we may start processing sockets in slirp_pollfds_poll that
were created past slirp_pollfds_fill.

Signed-off-by: Jan Kiszka <>
Reviewed-by: Stefan Hajnoczi <>

8917c3bd 02/22/2013 12:17 am Stefan Hajnoczi

slirp: switch to GPollFD

Slirp uses rfds/wfds/xfds more extensively than other QEMU components.

The rarely-used out-of-band TCP data feature is used. That means we
need the full table of select(2) to g_poll(3) events:

rfds -> G_IO_IN | G_IO_HUP | G_IO_ERR...
cf1d078e 02/22/2013 12:17 am Stefan Hajnoczi

slirp: slirp/slirp.c coding style cleanup

The slirp glue code uses tabs in some places. Since the next patch will
modify the file, convert tabs to spaces and fix checkpatch.pl issues.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Laszlo Ersek <>...

c64f50d1 01/30/2013 12:14 pm Markus Armbruster

g_strdup(NULL) returns NULL; simplify

Signed-off-by: Markus Armbruster <>
Reviewed-by: Eric Blake <>
Signed-off-by: Stefan Hajnoczi <>

View revisions

Also available in: Atom