Last change
on this file since 28520 was 28449, checked in by vboxsync, 15 years ago |
NAT: slirp file headers
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.1 KB
|
Line | |
---|
1 | /* $Id: main.h 28449 2010-04-19 09:52:59Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * NAT - main.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2010 Sun Microsystems, Inc.
|
---|
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 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | * additional information or have any questions.
|
---|
20 | */
|
---|
21 |
|
---|
22 | /*
|
---|
23 | * This code is based on:
|
---|
24 | *
|
---|
25 | * Copyright (c) 1995 Danny Gasparovski.
|
---|
26 | *
|
---|
27 | * Please read the file COPYRIGHT for the
|
---|
28 | * terms and conditions of the copyright.
|
---|
29 | */
|
---|
30 |
|
---|
31 | #ifdef HAVE_SYS_SELECT_H
|
---|
32 | #include <sys/select.h>
|
---|
33 | #endif
|
---|
34 | #define ETH_ENCAP_URG 1
|
---|
35 | void if_encap(PNATState pData, uint16_t eth_proto, struct mbuf *m, int flags);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.