diff options
| author | Anton Ivanov | 2014-06-20 11:34:41 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-27 10:39:10 +0200 |
| commit | 3fb69aa1d127585fe9626c3d777a8ce2fc01a36d (patch) | |
| tree | 446b2545b76989bcf608593d2b0c3ac59574d503 /net/clients.h | |
| parent | qemu-bridge-helper: Fix fd leak in main() (diff) | |
| download | qemu-3fb69aa1d127585fe9626c3d777a8ce2fc01a36d.tar.gz qemu-3fb69aa1d127585fe9626c3d777a8ce2fc01a36d.tar.xz 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.h | 2 |
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); |
