Statistics
| Branch: | Revision:

root / net @ 34b5d2c6

Name Size
Makefile.objs 479 Bytes
checksum.c 3 kB
clients.h 2.1 kB
dump.c 4.7 kB
eth.c 6.1 kB
hub.c 8.2 kB
hub.h 647 Bytes
net.c 31.3 kB
queue.c 7.8 kB
slirp.c 22 kB
socket.c 21.2 kB
tap-aix.c 1.9 kB
tap-bsd.c 3.7 kB
tap-haiku.c 1.9 kB
tap-linux.c 7.5 kB
tap-linux.h 1.7 kB
tap-solaris.c 6.4 kB
tap-win32.c 21.5 kB
tap.c 23.1 kB
tap_int.h 1.9 kB
util.c 1.9 kB
util.h 1.3 kB
vde.c 3.5 kB

Latest revisions

# Date Author Comment
aa4f082f 09/06/2013 06:01 pm Brad Smith

tap: Use numbered tap/tun devices on all *BSD OS's

The following patch simplifies the *BSD tap/tun code and makes use of numbered
tap/tun interfaces on all *BSD OS's. NetBSD has a patch in their pkgsrc tree
to make use of this feature and DragonFly also supports this as well....

067404be 09/06/2013 06:01 pm Jan Kiszka

net: Rename send_queue to incoming_queue

Each networking client has a queue for packets that could not yet be
delivered to that client. Calling this queue "send_queue" is highly
confusing as it has nothing to to with packets send from this client but
to it. Avoid this confusing by renaming it to "incoming_queue"....

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

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

6a1751b7 08/22/2013 08:10 pm Alex Bligh

aio / timers: Untangle include files

include/qemu/timer.h has no need to include main-loop.h and
doing so causes an issue for the next patch. Unfortunately
various files assume including timers.h will pull in main-loop.h.
Untangle this mess.

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

dfc6f865 07/27/2013 10:22 am Stefan Weil

misc: Use g_assert_not_reached for code which is expected to be unreachable

The macro g_assert_not_reached is a better self documenting replacement
for assert(0) or assert(false).

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

b1be4280 07/15/2013 09:23 pm Amos Kong

net: add support of mac-programming over macvtap in QEMU side

Currently macvtap based macvlan device is working in promiscuous
mode, we want to implement mac-programming over macvtap through
Libvirt for better performance.

Design:
QEMU notifies Libvirt when rx-filter config is changed in guest,...

68756ba8 06/19/2013 01:44 pm Bas van Sisseren

fix -net user checks by reordering checks

reorder slirp config options. first check the dns-server-address,
then check the first-dhcp-address. the original code was comparing
the first-dhcp-address with the default dns-server-address, not
the configured dns-server-address....

c87826a8 06/07/2013 04:48 pm Jason Wang

tap: fix NULL dereference when passing invalid parameters to tap

This patch forbid the following invalid parameters to tap:

1) fd and vhostfds were specified but vhostfd were not specified
2) vhostfds were specified but fds were not specified
3) fds and vhostfd were specified...

d73fe37e 05/24/2013 05:33 pm Alasdair McLeay

net: support for bridged networking on Mac OS X

tun tap can be implemented on Mac OS X using
http://tuntaposx.sourceforge.net

It behaves in the same way as FreeBSD/OpenBSD implementations, but Qemu
needs a patch to use the OpenBS/FreeBSD code.

As per the patch listed in this forum thread:...

7873df40 05/03/2013 02:53 pm Jason Wang

tap: properly initialize vhostfds

Only tap->vhostfd were checked net_init_tap_one(), but tap->vhostfds were
forgot, this will lead qemu to ignore all fds passed by management through
vhostfds, and tries to create vhost_net device itself. Fix by adding this check...

View revisions

Also available in: Atom