Statistics
| Branch: | Revision:

root / net @ ea4571eb

Name Size
Makefile.objs 519 Bytes
checksum.c 3 kB
clients.h 2.2 kB
dump.c 4.7 kB
eth.c 6.1 kB
hub.c 8.2 kB
hub.h 647 Bytes
net.c 31.8 kB
netmap.c 12.4 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
4bf2c138 01/27/2014 04:44 pm Hani Benhabiles

net: Use g_strdup_printf instead of snprintf.

assign_name() in net/net.c is using snprintf + g_strdup to get the same
result as g_strdup_printf.

Signed-off-by: Hani Benhabiles <>
Signed-off-by: Stefan Hajnoczi <>

1f149e72 01/27/2014 04:44 pm Kusanagi Kouichi

tap-linux: Get features once and use it many times

Signed-off-by: Kusanagi Kouichi <>
Signed-off-by: Stefan Hajnoczi <>

dff7424d 12/23/2013 02:02 pm Stefan Weil

misc: Use macro ARRAY_SIZE where possible

This improves readability and simplifies the code.

Cc: Anthony Liguori <>
Cc: Gerd Hoffmann <>
Cc: Stefan Hajnoczi <>
Signed-off-by: Stefan Weil <>...

02d38fcb 12/09/2013 02:33 pm Vlad Yasevich

net: Update netdev peer on link change

When a link change occurs on a backend (like tap), we currently do
not propage such change to the nic. As a result, when someone turns
off a link on a tap device, for instance, then a guest doesn't see
that change and continues to try to send traffic or run DHCP even...

58952137 12/09/2013 02:33 pm Vincenzo Maffione

net: Adding netmap network backend

This patch adds support for a network backend based on netmap.
netmap is a framework for high speed packet I/O. You can use it
to build extremely fast traffic generators, monitors, software
switches or network middleboxes. Its companion software switch...

d60b20cf 11/08/2013 06:32 pm Dmitry Krivenok

net: disallow to specify multicast MAC address

[Assigning a multicast MAC address to a NIC leads to confusing behavior.
Reject multicast MAC addresses so users are alerted to their error
straight away.

The "net/eth.h" in6_addr rename prevents a name collision with...

1597591c 11/08/2013 06:32 pm Sergey Fedorov

net: fix qemu_flush_queued_packets() in presence of a hub

Do not return after net_hub_flush(). Always flush callee network client
incoming queue.

Signed-off-by: Sergey Fedorov <>
Signed-off-by: Stefan Hajnoczi <>

bcbe92fb 10/02/2013 08:20 pm Sebastian Ottlik

net: call socket_set_fast_reuse instead of setting SO_REUSEADDR

SO_REUSEADDR should be avoided on Windows but is desired on other operating
systems. So instead of setting it we call socket_set_fast_reuse that will result
in the appropriate behaviour on all operating systems....

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

View revisions

Also available in: Atom