VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.h@ 62490

Last change on this file since 62490 was 62490, checked in by vboxsync, 8 years ago

(C) 2016

  • 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 62490 2016-07-22 18:41:49Z vboxsync $ */
2/** @file
3 * VBoxNetAdp-win.h - Host-only Miniport Driver, Windows-specific code.
4 */
5/*
6 * Copyright (C) 2014-2016 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_NAME "Oracle"
26#define VBOXNETADP_VENDOR_ID 0xFFFFFF
27#define VBOXNETADP_MCAST_LIST_SIZE 32
28#define VBOXNETADP_MAX_FRAME_SIZE 1518 // TODO: 14+4+1500
29
30//#define VBOXNETADP_NAME_UNIQUE L"{7af6b074-048d-4444-bfce-1ecc8bc5cb76}"
31#define VBOXNETADP_NAME_SERVICE L"VBoxNetAdp"
32
33#define VBOXNETADP_NAME_LINK L"\\DosDevices\\Global\\VBoxNetAdp"
34#define VBOXNETADP_NAME_DEVICE L"\\Device\\VBoxNetAdp"
35
36#define VBOXNETADPWIN_TAG 'ANBV'
37
38#define VBOXNETADPWIN_ATTR_FLAGS NDIS_MINIPORT_ATTRIBUTES_NDIS_WDM | NDIS_MINIPORT_ATTRIBUTES_NO_HALT_ON_SUSPEND
39#define VBOXNETADP_MAC_OPTIONS NDIS_MAC_OPTION_NO_LOOPBACK
40#define VBOXNETADP_SUPPORTED_FILTERS (NDIS_PACKET_TYPE_DIRECTED | \
41 NDIS_PACKET_TYPE_MULTICAST | \
42 NDIS_PACKET_TYPE_BROADCAST | \
43 NDIS_PACKET_TYPE_PROMISCUOUS | \
44 NDIS_PACKET_TYPE_ALL_MULTICAST)
45#define VBOXNETADPWIN_SUPPORTED_STATISTICS 0 //TODO!
46#define VBOXNETADPWIN_HANG_CHECK_TIME 4
47
48#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