Statistics
| Branch: | Revision:

root / net / vde.h @ a5fd2c34

History | View | Annotate | Download (1.4 kB)

1 5c361cc3 Mark McLoughlin
/*
2 5c361cc3 Mark McLoughlin
 * QEMU System Emulator
3 5c361cc3 Mark McLoughlin
 *
4 5c361cc3 Mark McLoughlin
 * Copyright (c) 2003-2008 Fabrice Bellard
5 5c361cc3 Mark McLoughlin
 *
6 5c361cc3 Mark McLoughlin
 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 5c361cc3 Mark McLoughlin
 * of this software and associated documentation files (the "Software"), to deal
8 5c361cc3 Mark McLoughlin
 * in the Software without restriction, including without limitation the rights
9 5c361cc3 Mark McLoughlin
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 5c361cc3 Mark McLoughlin
 * copies of the Software, and to permit persons to whom the Software is
11 5c361cc3 Mark McLoughlin
 * furnished to do so, subject to the following conditions:
12 5c361cc3 Mark McLoughlin
 *
13 5c361cc3 Mark McLoughlin
 * The above copyright notice and this permission notice shall be included in
14 5c361cc3 Mark McLoughlin
 * all copies or substantial portions of the Software.
15 5c361cc3 Mark McLoughlin
 *
16 5c361cc3 Mark McLoughlin
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 5c361cc3 Mark McLoughlin
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 5c361cc3 Mark McLoughlin
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 5c361cc3 Mark McLoughlin
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 5c361cc3 Mark McLoughlin
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 5c361cc3 Mark McLoughlin
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 5c361cc3 Mark McLoughlin
 * THE SOFTWARE.
23 5c361cc3 Mark McLoughlin
 */
24 5c361cc3 Mark McLoughlin
#ifndef QEMU_NET_VDE_H
25 5c361cc3 Mark McLoughlin
#define QEMU_NET_VDE_H
26 5c361cc3 Mark McLoughlin
27 5c361cc3 Mark McLoughlin
#include "qemu-common.h"
28 5c361cc3 Mark McLoughlin
#include "qemu-option.h"
29 5c361cc3 Mark McLoughlin
30 5c361cc3 Mark McLoughlin
#ifdef CONFIG_VDE
31 5c361cc3 Mark McLoughlin
32 5c361cc3 Mark McLoughlin
int net_init_vde(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan);
33 5c361cc3 Mark McLoughlin
34 5c361cc3 Mark McLoughlin
#endif /* CONFIG_VDE */
35 5c361cc3 Mark McLoughlin
36 5c361cc3 Mark McLoughlin
#endif /* QEMU_NET_VDE_H */