source:
vbox/trunk/src/VBox/Devices/Network/slirp/main.h@
61009
Last change on this file since 61009 was 56292, checked in by , 10 years ago | |
---|---|
|
|
File size: 905 bytes |
Line | |
---|---|
1 | /* $Id: main.h 56292 2015-06-09 14:20:46Z vboxsync $ */ |
2 | /** @file |
3 | * NAT - main. |
4 | */ |
5 | |
6 | /* |
7 | * Copyright (C) 2006-2015 Oracle Corporation |
8 | * |
9 | * This file is part of VirtualBox Open Source Edition (OSE), as |
10 | * available from http://www.virtualbox.org. This file is free software; |
11 | * you can redistribute it and/or modify it under the terms of the GNU |
12 | * General Public License (GPL) as published by the Free Software |
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the |
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the |
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. |
16 | */ |
17 | |
18 | /* |
19 | * This code is based on: |
20 | * |
21 | * Copyright (c) 1995 Danny Gasparovski. |
22 | * |
23 | * Please read the file COPYRIGHT for the |
24 | * terms and conditions of the copyright. |
25 | */ |
26 | |
27 | #ifdef HAVE_SYS_SELECT_H |
28 | #include <sys/select.h> |
29 | #endif |
30 | #define ETH_ENCAP_URG 1 |
31 | void if_encap(PNATState pData, uint16_t eth_proto, struct mbuf *m, int flags); |
Note:
See TracBrowser
for help on using the repository browser.