root / net / clients.h @ 067404be
History | View | Annotate | Download (2.1 kB)
1 | 42281ac9 | Mark McLoughlin | /*
|
---|---|---|---|
2 | 42281ac9 | Mark McLoughlin | * QEMU System Emulator
|
3 | 42281ac9 | Mark McLoughlin | *
|
4 | 42281ac9 | Mark McLoughlin | * Copyright (c) 2003-2008 Fabrice Bellard
|
5 | 42281ac9 | Mark McLoughlin | *
|
6 | 42281ac9 | Mark McLoughlin | * Permission is hereby granted, free of charge, to any person obtaining a copy
|
7 | 42281ac9 | Mark McLoughlin | * of this software and associated documentation files (the "Software"), to deal
|
8 | 42281ac9 | Mark McLoughlin | * in the Software without restriction, including without limitation the rights
|
9 | 42281ac9 | Mark McLoughlin | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10 | 42281ac9 | Mark McLoughlin | * copies of the Software, and to permit persons to whom the Software is
|
11 | 42281ac9 | Mark McLoughlin | * furnished to do so, subject to the following conditions:
|
12 | 42281ac9 | Mark McLoughlin | *
|
13 | 42281ac9 | Mark McLoughlin | * The above copyright notice and this permission notice shall be included in
|
14 | 42281ac9 | Mark McLoughlin | * all copies or substantial portions of the Software.
|
15 | 42281ac9 | Mark McLoughlin | *
|
16 | 42281ac9 | Mark McLoughlin | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17 | 42281ac9 | Mark McLoughlin | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18 | 42281ac9 | Mark McLoughlin | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
19 | 42281ac9 | Mark McLoughlin | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20 | 42281ac9 | Mark McLoughlin | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21 | 42281ac9 | Mark McLoughlin | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22 | 42281ac9 | Mark McLoughlin | * THE SOFTWARE.
|
23 | 42281ac9 | Mark McLoughlin | */
|
24 | a245fc18 | Paolo Bonzini | #ifndef QEMU_NET_CLIENTS_H
|
25 | a245fc18 | Paolo Bonzini | #define QEMU_NET_CLIENTS_H
|
26 | 42281ac9 | Mark McLoughlin | |
27 | 1422e32d | Paolo Bonzini | #include "net/net.h" |
28 | 6687b79d | Laszlo Ersek | #include "qapi-types.h" |
29 | 42281ac9 | Mark McLoughlin | |
30 | a245fc18 | Paolo Bonzini | int net_init_dump(const NetClientOptions *opts, const char *name, |
31 | a245fc18 | Paolo Bonzini | NetClientState *peer); |
32 | a245fc18 | Paolo Bonzini | |
33 | a245fc18 | Paolo Bonzini | #ifdef CONFIG_SLIRP
|
34 | a245fc18 | Paolo Bonzini | int net_init_slirp(const NetClientOptions *opts, const char *name, |
35 | a245fc18 | Paolo Bonzini | NetClientState *peer); |
36 | a245fc18 | Paolo Bonzini | #endif
|
37 | a245fc18 | Paolo Bonzini | |
38 | a245fc18 | Paolo Bonzini | int net_init_hubport(const NetClientOptions *opts, const char *name, |
39 | a245fc18 | Paolo Bonzini | NetClientState *peer); |
40 | a245fc18 | Paolo Bonzini | |
41 | 1a0c0958 | Laszlo Ersek | int net_init_socket(const NetClientOptions *opts, const char *name, |
42 | 4e68f7a0 | Stefan Hajnoczi | NetClientState *peer); |
43 | 42281ac9 | Mark McLoughlin | |
44 | a245fc18 | Paolo Bonzini | int net_init_tap(const NetClientOptions *opts, const char *name, |
45 | a245fc18 | Paolo Bonzini | NetClientState *peer); |
46 | a245fc18 | Paolo Bonzini | |
47 | a245fc18 | Paolo Bonzini | int net_init_bridge(const NetClientOptions *opts, const char *name, |
48 | a245fc18 | Paolo Bonzini | NetClientState *peer); |
49 | a245fc18 | Paolo Bonzini | |
50 | a245fc18 | Paolo Bonzini | #ifdef CONFIG_VDE
|
51 | a245fc18 | Paolo Bonzini | int net_init_vde(const NetClientOptions *opts, const char *name, |
52 | a245fc18 | Paolo Bonzini | NetClientState *peer); |
53 | a245fc18 | Paolo Bonzini | #endif
|
54 | a245fc18 | Paolo Bonzini | |
55 | a245fc18 | Paolo Bonzini | #endif /* QEMU_NET_CLIENTS_H */ |