Statistics
| Branch: | Revision:

root / net @ 6fb6d245

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 kB
slirp.h 1.8 kB
socket.c 16.2 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 21 kB
tap.c 11.3 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
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 <>

6720b35b 12/03/2009 05:41 pm Pierre Riteau

net: fix TAP networking on host kernels without IFF_VNET_HDR support

vnet_hdr is initialized at 1 by default. We need to reset it to 0 if
the kernel doesn't support IFF_VNET_HDR.

Signed-off-by: Pierre Riteau <>
Signed-off-by: Mark McLoughlin <>...

2e50326c 12/03/2009 05:41 pm Pierre Riteau

net: check for TUNSETOFFLOAD support before trying to enable offload features

This avoids the "TUNSETOFFLOAD ioctl() failed: Invalid argument" message
on kernels without TUNSETOFFLOAD support.

Signed-off-by: Pierre Riteau <>
Signed-off-by: Mark McLoughlin <>...

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 <>

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

net: move parse_macaddr() to net/util.[ch]

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

665a3b07 12/03/2009 05:41 pm Mark McLoughlin

net: remove VLANClientState members now in NetClientInfo

Add a NetClientInfo pointer to VLANClientState and use that
for the typecode and function pointers.

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

564f63e3 12/03/2009 05:41 pm Mark McLoughlin

net: convert socket to NetClientInfo

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

731d5856 12/03/2009 05:41 pm Mark McLoughlin

net: convert dump to NetClientInfo

aliguori: fix uninitialized use of pcap_len

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

View revisions

Also available in: Atom