Statistics
| Branch: | Revision:

root / net @ 551a2dec

Name Size
checksum.c 2.2 kB
checksum.h 1.1 kB
dump.c 4.1 kB
dump.h 1.3 kB
queue.c 7.5 kB
queue.h 2.9 kB
slirp.c 21.2 kB
slirp.h 1.8 kB
socket.c 16.1 kB
socket.h 1.4 kB
tap-aix.c 1.6 kB
tap-bsd.c 3.2 kB
tap-linux.c 4.4 kB
tap-linux.h 1.6 kB
tap-solaris.c 6.1 kB
tap-win32.c 20.9 kB
tap.c 11.5 kB
tap.h 2 kB
util.c 1.9 kB
util.h 1.3 kB
vde.c 3.5 kB
vde.h 1.4 kB

Latest revisions

# Date Author Comment
24ac07de 03/09/2010 07:23 pm Juan Quintela

slirp: check system() success

we shouldn't call W*() macros until we check that fork worked.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

62112d18 02/19/2010 08:12 pm Markus Armbruster

net: Fix bogus "Warning: vlan 0 with no nics" with -device

net_check_clients() prints this when an VLAN has host devices, but no
guest devices. It uses VLANState members nb_guest_devs and
nb_host_devs to keep track of these devices. However, -device does...

28b150bf 01/27/2010 07:47 pm Blue Swirl

Fix BSD build

<sys/wait.h> must be included in order to use WIF* macros.

Signed-off-by: Blue Swirl <>

5a01e99f 01/26/2010 10:59 pm Kirill A. Shutemov

net/slirp.c: fix warning with _FORTIFY_SOURCE

CC net/slirp.o
cc1: warnings being treated as errors
net/slirp.c: In function 'slirp_smb_cleanup':
net/slirp.c:470: error: ignoring return value of 'system', declared with attribute warn_unused_result
make: *** [net/slirp.o] Error 1...

ceb69615 01/08/2010 05:58 pm Michael S. Tsirkin

net: add API to disable/enable polling

When vhost is bound to a backend device, we need to stop polling it when
vhost is started, and restart polling when vhost is stopped.
Add an API for that for use by vhost, and implement in tap backend.

Signed-off-by: Michael S. Tsirkin <>...

ee7139c3 12/13/2009 04:28 pm Andreas Färber

tap: Compilation fix for Solaris

Avoid an unresolved symbol error for TFR,
which is defined in sysemu.h.

Based on patch by Palle Lyckegaard.

Signed-off-by: Andreas Färber <>
Cc: Palle Lyckegaard <>
Cc: Ben Taylor <>...

08fd0fa9 12/04/2009 08:06 pm Blue Swirl

win32: fix variable use before initialization

Signed-off-by: Blue Swirl <>

40ff6d7e 12/03/2009 07:45 pm Kevin Wolf

Don't leak file descriptors

We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
descriptors that don't need to be passed to children to stop this misbehaviour.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

df6c2a0f 12/03/2009 05:41 pm Mark McLoughlin

net: initialize vnet_hdr in net_init_tap()

net_tap_init() always sets vnet_hdr using qemu_opt_get_bool(), but
initialize it in net_init_tap() just to reduce confusion.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

f5c5e381 12/03/2009 05:41 pm Mark McLoughlin

net: fix vnet_hdr handling in solaris tap code

Print an error if the user specifies vnet_hdr=1 on the cmdline.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

View revisions

Also available in: Atom