VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxNetFlt/win/ndis6/VBoxNetAdp-win.h@ 53082

Last change on this file since 53082 was 53082, checked in by vboxsync, 10 years ago

NetFlt/win: NDIS6: no halt on host suspend, hardware id changed to match the old NDIS5 id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1/* $Id: VBoxNetAdp-win.h 53082 2014-10-17 06:49:23Z vboxsync $ */
2/** @file
3 * VBoxNetAdp-win.h - Host-only Miniport Driver, Windows-specific code.
4 */
5/*
6 * Copyright (C) 2014 Oracle Corporation
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 */
16#ifndef ___VBoxNetAdp_win_h___
17#define ___VBoxNetAdp_win_h___
18
19#define VBOXNETADP_VERSION_NDIS_MAJOR 6
20#define VBOXNETADP_VERSION_NDIS_MINOR 0
21
22#define VBOXNETADP_VERSION_MAJOR 1
23#define VBOXNETADP_VERSION_MINOR 0
24
25#define VBOXNETADP_VENDOR_ID 0xFFFFFF
26#define VBOXNETADP_MCAST_LIST_SIZE 32
27#define VBOXNETADP_MAX_FRAME_SIZE 1518 // TODO: 14+4+1500
28
29//#define VBOXNETADP_NAME_UNIQUE L"{7af6b074-048d-4444-bfce-1ecc8bc5cb76}"
30#define VBOXNETADP_NAME_SERVICE L"VBoxNetAdp"
31
32#define VBOXNETADP_NAME_LINK L"\\DosDevices\\Global\\VBoxNetAdp"
33#define VBOXNETADP_NAME_DEVICE L"\\Device\\VBoxNetAdp"
34
35#define VBOXNETADPWIN_TAG 'ANBV'
36
37#define VBOXNETADPWIN_ATTR_FLAGS NDIS_MINIPORT_ATTRIBUTES_NDIS_WDM | NDIS_MINIPORT_ATTRIBUTES_NO_HALT_ON_SUSPEND
38#define VBOXNETADP_MAC_OPTIONS NDIS_MAC_OPTION_NO_LOOPBACK
39#define VBOXNETADP_SUPPORTED_FILTERS (NDIS_PACKET_TYPE_DIRECTED | \
40 NDIS_PACKET_TYPE_MULTICAST | \
41 NDIS_PACKET_TYPE_BROADCAST | \
42 NDIS_PACKET_TYPE_PROMISCUOUS | \
43 NDIS_PACKET_TYPE_ALL_MULTICAST)
44#define VBOXNETADPWIN_SUPPORTED_STATISTICS 0 //TODO!
45#define VBOXNETADPWIN_HANG_CHECK_TIME 4
46
47#endif /* #ifndef ___VBoxNetAdp_win_h___ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette