Statistics
| Branch: | Revision:

root / net / socket.h @ a5fd2c34

History | View | Annotate | Download (1.4 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 42281ac9 Mark McLoughlin
#ifndef QEMU_NET_SOCKET_H
25 42281ac9 Mark McLoughlin
#define QEMU_NET_SOCKET_H
26 42281ac9 Mark McLoughlin
27 42281ac9 Mark McLoughlin
#include "net.h"
28 42281ac9 Mark McLoughlin
#include "qemu-common.h"
29 42281ac9 Mark McLoughlin
30 42281ac9 Mark McLoughlin
int net_init_socket(QemuOpts *opts, Monitor *mon,
31 42281ac9 Mark McLoughlin
                    const char *name, VLANState *vlan);
32 42281ac9 Mark McLoughlin
33 42281ac9 Mark McLoughlin
#endif /* QEMU_NET_SOCKET_H */