Staging: hv: clean up RndisFilter.h
[linux-2.6/mini2440.git] / drivers / staging / hv / RndisFilter.h
blob6725fe525d36a943cf242bedd0aac55e48b12211
1 /*
3 * Copyright (c) 2009, Microsoft Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16 * Place - Suite 330, Boston, MA 02111-1307 USA.
18 * Authors:
19 * Haiyang Zhang <haiyangz@microsoft.com>
20 * Hank Janssen <hjanssen@microsoft.com>
25 #ifndef _RNDISFILTER_H_
26 #define _RNDISFILTER_H_
28 #define __struct_bcount(x)
30 #include "include/osd.h"
31 #include "NetVsc.h"
33 #include "include/rndis.h"
35 #define RNDIS_HEADER_SIZE (sizeof(RNDIS_MESSAGE) - \
36 sizeof(RNDIS_MESSAGE_CONTAINER))
38 #define NDIS_PACKET_TYPE_DIRECTED 0x00000001
39 #define NDIS_PACKET_TYPE_MULTICAST 0x00000002
40 #define NDIS_PACKET_TYPE_ALL_MULTICAST 0x00000004
41 #define NDIS_PACKET_TYPE_BROADCAST 0x00000008
42 #define NDIS_PACKET_TYPE_SOURCE_ROUTING 0x00000010
43 #define NDIS_PACKET_TYPE_PROMISCUOUS 0x00000020
44 #define NDIS_PACKET_TYPE_SMT 0x00000040
45 #define NDIS_PACKET_TYPE_ALL_LOCAL 0x00000080
46 #define NDIS_PACKET_TYPE_GROUP 0x00000100
47 #define NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00000200
48 #define NDIS_PACKET_TYPE_FUNCTIONAL 0x00000400
49 #define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800
52 /* Interface */
54 extern int RndisFilterInit(NETVSC_DRIVER_OBJECT *Driver);
56 #endif /* _RNDISFILTER_H_ */