summary refs log tree commit diff stats
path: root/net/clients.h
diff options
context:
space:
mode:
authorAnton Ivanov <antivano@cisco.com>2014-06-20 10:34:41 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-06-27 10:39:10 +0200
commit3fb69aa1d127585fe9626c3d777a8ce2fc01a36d (patch)
tree446b2545b76989bcf608593d2b0c3ac59574d503 /net/clients.h
parenteb3f45c5af26f5284b5f8dd7319714ca70676e50 (diff)
downloadfocaccia-qemu-3fb69aa1d127585fe9626c3d777a8ce2fc01a36d.tar.gz
focaccia-qemu-3fb69aa1d127585fe9626c3d777a8ce2fc01a36d.zip
net: L2TPv3 transport
This transport allows to connect a QEMU nic to a static Ethernet
over L2TPv3 tunnel. The transport supports all options present
in the Linux kernel implementation. It allows QEMU to connect
to any Linux host running kernel 3.3+, most routers and network
devices as well as other QEMU instances.

[Fixed up net_client_init1() switch statement to support -netdev
--Stefan]

Signed-off-by: Anton Ivanov <antivano@cisco.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'net/clients.h')
-rw-r--r--net/clients.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/clients.h b/net/clients.h
index 7f3d4ae9f3..2e8fedad8d 100644
--- a/net/clients.h
+++ b/net/clients.h
@@ -47,6 +47,8 @@ int net_init_tap(const NetClientOptions *opts, const char *name,
 int net_init_bridge(const NetClientOptions *opts, const char *name,
                     NetClientState *peer);
 
+int net_init_l2tpv3(const NetClientOptions *opts, const char *name,
+                    NetClientState *peer);
 #ifdef CONFIG_VDE
 int net_init_vde(const NetClientOptions *opts, const char *name,
                  NetClientState *peer);