VirtualBox

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

Last change on this file since 69250 was 69250, checked in by vboxsync, 7 years ago

HostDrivers: scm updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1/* $Id: VBoxNetAdp-win.h 69250 2017-10-24 19:18: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 * The contents of this file may alternatively be used under the terms
17 * of the Common Development and Distribution License Version 1.0
18 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
19 * VirtualBox OSE distribution, in which case the provisions of the
20 * CDDL are applicable instead of those of the GPL.
21 *
22 * You may elect to license modified versions of this file under the
23 * terms and conditions of either the GPL or the CDDL or both.
24 */
25#ifndef ___VBoxNetAdp_win_h___
26#define ___VBoxNetAdp_win_h___
27
28#define VBOXNETADP_VERSION_NDIS_MAJOR 6
29#define VBOXNETADP_VERSION_NDIS_MINOR 0
30
31#define VBOXNETADP_VERSION_MAJOR 1
32#define VBOXNETADP_VERSION_MINOR 0
33
34#define VBOXNETADP_VENDOR_NAME "Oracle"
35#define VBOXNETADP_VENDOR_ID 0xFFFFFF
36#define VBOXNETADP_MCAST_LIST_SIZE 32
37#define VBOXNETADP_MAX_FRAME_SIZE 1518 // TODO: 14+4+1500
38
39//#define VBOXNETADP_NAME_UNIQUE L"{7af6b074-048d-4444-bfce-1ecc8bc5cb76}"
40#define VBOXNETADP_NAME_SERVICE L"VBoxNetAdp"
41
42#define VBOXNETADP_NAME_LINK L"\\DosDevices\\Global\\VBoxNetAdp"
43#define VBOXNETADP_NAME_DEVICE L"\\Device\\VBoxNetAdp"
44
45#define VBOXNETADPWIN_TAG 'ANBV'
46
47#define VBOXNETADPWIN_ATTR_FLAGS NDIS_MINIPORT_ATTRIBUTES_NDIS_WDM | NDIS_MINIPORT_ATTRIBUTES_NO_HALT_ON_SUSPEND
48#define VBOXNETADP_MAC_OPTIONS NDIS_MAC_OPTION_NO_LOOPBACK
49#define VBOXNETADP_SUPPORTED_FILTERS (NDIS_PACKET_TYPE_DIRECTED | \
50 NDIS_PACKET_TYPE_MULTICAST | \
51 NDIS_PACKET_TYPE_BROADCAST | \
52 NDIS_PACKET_TYPE_PROMISCUOUS | \
53 NDIS_PACKET_TYPE_ALL_MULTICAST)
54#define VBOXNETADPWIN_SUPPORTED_STATISTICS 0 //TODO!
55#define VBOXNETADPWIN_HANG_CHECK_TIME 4
56
57#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