Statistics
| Branch: | Revision:

root / slirp @ 45724d6d

Name Size
COPYRIGHT 2.8 kB
Makefile.objs 212 Bytes
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.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.7 kB
main.h 1.1 kB
mbuf.c 4.9 kB
mbuf.h 4.5 kB
misc.c 9.4 kB
misc.h 1.5 kB
sbuf.c 4 kB
sbuf.h 812 Bytes
slirp.c 30.9 kB
slirp.h 7.4 kB
slirp_config.h 4.2 kB
socket.c 17.5 kB
socket.h 3.4 kB
tcp.h 6 kB
tcp_input.c 41 kB
tcp_output.c 14.1 kB
tcp_subr.c 26.3 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.8 kB
udp.h 3.2 kB

Latest revisions

# Date Author Comment
0b8db8fe 08/07/2012 03:31 am Anthony Liguori

slirp: fix build on mingw32

in_addr_t isn't available on mingw32. Just use an unsigned long instead. I
considered typedef'ing in_addr_t on mingw32 but this would potentially be
brittle if mingw32 did introduce the type.

Cc: Jan Kiszka <>...

648cd33e 08/04/2012 12:31 am Anders Waldenborg

slirp: Handle whole 127.0.0.0/8 network as local addresses.

Changes so translation of remote address to the host's ip address in
the virtual network happens for all addresses in the 127.0.0.0/8
network, not just 127.0.0.1.

This fixes so that hostfwd bound to addresses such as 127.0.0.2 works....

691a4f3a 08/01/2012 03:32 pm Zhi Yong Wu

net: determine if packets can be sent before net queue deliver packets

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Zhi Yong Wu <>
Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Laszlo Ersek <>

4c696054 06/07/2012 10:21 am Paolo Bonzini

build: move slirp/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

917cfc1f 05/28/2012 11:44 pm Andreas Färber

slirp: Avoid redefining MAX_TCPOPTLEN

MAX_TCPOPTLEN is being defined as 32. Darwin already has it as 40,
causing a warning. The value is only used to declare an array,
into which currently 4 bytes are written at most.

Therefore always override MAX_TCPOPTLEN for now....

9b24d8e9 05/28/2012 11:31 pm Andreas Färber

slirp: Avoid statements without effect on Big Endian host

Darwin has HTON*/NTOH* macros that on BE simply return the argument.
This is incompatible with SLIRP's use of these macros as a statement.

Undefine the macros in the HOST_WORDS_BIGENDIAN code path to redefine...

e20e48a8 05/28/2012 02:45 pm Andreas Färber

slirp: Untangle TCPOLEN_* from TCPOPT_*

Commit b72210568ef0c0fb141a01cffb71a09c4efa0364 (slirp: clean up
conflicts with system headers) enclosed TCPOLEN_MAXSEG with an #ifdef
TCPOPT_EOL. This broke the build on illumos, which has TCPOPT_*
but not TCPOLEN_*....

7c7db755 04/26/2012 09:14 pm Stefano Stabellini

main_loop_wait: block indefinitely

- remove qemu_calculate_timeout;

- explicitly size timeout to uint32_t;

- introduce slirp_update_timeout;

- pass NULL as timeout argument to select in case timeout is the maximum
value;

Signed-off-by: Stefano Stabellini <>...

acf126ba 04/15/2012 10:25 pm Stefan Weil

w32: Move defines for socket specific errors to qemu-os-win32.h

As those defines are only used for w32,
they should be in the header file for w32.

All files which include slirp.h or qemu_socket.h also
include qemu-os-win32.h.

Signed-off-by: Stefan Weil <>

86073017 03/30/2012 08:43 pm Jan Kiszka

slirp: Signal free input buffer space to io-thread

This massively accelerates slirp reception speed: If data arrives
faster than the guest can read it from the input buffer, the file
descriptor for the corresponding socket was taken out of the fdset for
select. However, the event of the guest reading enough data from the...

View revisions

Also available in: Atom