1 | /* $Id: VBoxNetFltMp-win.h 28800 2010-04-27 08:22:32Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxNetFlt - Network Filter Driver (Host), Windows Specific Code. Miniport edge of ndis filter driver
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2008 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 | * Based in part on Microsoft DDK sample code for Ndis Intermediate Miniport passthru driver sample.
|
---|
19 | * Copyright (c) 1993-1999, Microsoft Corporation
|
---|
20 | */
|
---|
21 |
|
---|
22 | #ifndef ___VBoxNetFltMp_win_h___
|
---|
23 | #define ___VBoxNetFltMp_win_h___
|
---|
24 |
|
---|
25 | #ifdef VBOX_NETFLT_ONDEMAND_BIND
|
---|
26 | # error "unsupported (VBOX_NETFLT_ONDEMAND_BIND)"
|
---|
27 | #else
|
---|
28 |
|
---|
29 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpRegister(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath);
|
---|
30 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDeregister();
|
---|
31 | DECLHIDDEN(NDIS_HANDLE) vboxNetFltWinMpGetHandle();
|
---|
32 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpInitializeDevideInstance(PADAPT pAdapt);
|
---|
33 | DECLHIDDEN(VOID) vboxNetFltWinMpReturnPacket(IN NDIS_HANDLE MiniportAdapterContext, IN PNDIS_PACKET Packet);
|
---|
34 | DECLHIDDEN(bool) vboxNetFltWinMpDeInitializeDevideInstance(PADAPT pAdapt, PNDIS_STATUS pStatus);
|
---|
35 | DECLHIDDEN(VOID) vboxNetFltWinMpQueryPNPCapabilities(IN OUT PADAPT pAdapt, OUT PNDIS_STATUS pStatus);
|
---|
36 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpReferenceControlDevice();
|
---|
37 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDereferenceControlDevice();
|
---|
38 |
|
---|
39 | #ifdef VBOXNETADP
|
---|
40 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDoInitialization(PADAPT pAdapt, NDIS_HANDLE hMiniportAdapter, NDIS_HANDLE hWrapperConfigurationContext);
|
---|
41 | DECLHIDDEN(NDIS_STATUS) vboxNetFltWinMpDoDeinitialization(PADAPT pAdapt);
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #endif
|
---|
45 |
|
---|
46 | #endif
|
---|