| Branch: | Revision:

root / slirp @ 8b7968f7

Name Size
bootp.c 8.8 kB
bootp.h 3.1 kB
cksum.c 3.8 kB
debug.h 865 Bytes
if.c 5.5 kB
if.h 636 Bytes
ip.h 7.4 kB
ip_icmp.c 9.9 kB
ip_icmp.h 6.1 kB
ip_input.c 17.1 kB
ip_output.c 4.8 kB
libslirp.h 2 kB
main.h 1.1 kB
mbuf.c 4.4 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.6 kB
slirp.h 6.6 kB
slirp_config.h 4.4 kB
socket.c 17.4 kB
socket.h 3.4 kB
tcp.h 5.8 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.5 kB
tftp.h 701 Bytes
udp.c 9.5 kB
udp.h 3.2 kB

Latest revisions

# Date Author Comment
8b7968f7 10/03/2010 09:34 am Stefan Weil

Use GCC_FMT_ATTR (format checking)

Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

4a2b39d3 10/03/2010 09:31 am Andreas Färber

slirp: Silence warning on Haiku

Haiku has O_BINARY in fcntl.h.

Signed-off-by: Andreas Färber <>
Cc: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

0d491754 09/17/2010 01:46 pm Hervé Poussineau

Accept packets with TTL=1

Packets with TTL=1 may be directed to local network (DHCP/DNS servers for example), so don't discard them
This is required by old versions of NetBSD which send DHCP DISCOVER packets with TTL=1

Signed-off-by: Hervé Poussineau <>...

dbf3c4b4 09/17/2010 01:46 pm Hervé Poussineau

Make ARP replies at least 64 bytes long

IEEE 802.3 standard requires Ethernet frames to be at least 64 bytes long.
If it is not the case, they will be considered as runt frames, and may be ignored by netcard and/or OS

Signed-off-by: Hervé Poussineau <>...

7390cdfb 09/04/2010 12:45 pm Jes Sorensen

Change DPRINTF to do{}while(0) to avoid compiler warning

Signed-off-by: Jes Sorensen <>
Signed-off-by: Blue Swirl <>

b6dce92e 07/25/2010 05:59 pm Stefan Weil

slirp: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types

There is no need to have a second set of integral types.
Replace them by the standard types from stdint.h.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

08dc07a3 07/25/2010 05:59 pm Stefan Weil

slirp: Remove declarations which are no longer needed

The previous patches replaced u_int8_t, u_int16_t, u_int32_t, u_int64_t
by standard int types from stdint.h,
so we can now remove their declarations which are no longer needed.

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

0be71e32 07/06/2010 06:36 pm Alex Williamson

savevm: Add DeviceState param

When available, we'd like to be able to access the DeviceState
when registering a savevm. For buses with a get_dev_path()
function, this will allow us to create more unique savevm
id strings.

Signed-off-by: Alex Williamson <>...

9678d950 04/25/2010 09:35 pm Blue Swirl

Remove dead assignments in various common files, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <>

ab07b980 04/20/2010 07:42 pm Juha Riihimäki

slirp: fix structure initialization in tcp_listen()

A data structure of type sockaddr_in is allocated from stack but not
properly initialized. This may lead to a failure in the bind() call
later on. Fixed by filling the contents of the structure with zeroes...

View revisions

Also available in: Atom