Staging: hv: netvsc: Move the contents of netvsc.h to hyperv_net.h
[deliverable/linux.git] / drivers / staging / hv / rndis_filter.h
CommitLineData
fceaf24a
HJ
1/*
2 *
3 * Copyright (c) 2009, Microsoft Corporation.
4 *
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.
8 *
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.
13 *
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.
17 *
18 * Authors:
19 * Haiyang Zhang <haiyangz@microsoft.com>
20 * Hank Janssen <hjanssen@microsoft.com>
21 *
22 */
23
24
25#ifndef _RNDISFILTER_H_
26#define _RNDISFILTER_H_
27
28#define __struct_bcount(x)
29
fceaf24a 30
e27edab4 31#include "rndis.h"
fceaf24a 32
9f33d054
GKH
33#define RNDIS_HEADER_SIZE (sizeof(struct rndis_message) - \
34 sizeof(union rndis_message_container))
fceaf24a
HJ
35
36#define NDIS_PACKET_TYPE_DIRECTED 0x00000001
37#define NDIS_PACKET_TYPE_MULTICAST 0x00000002
38#define NDIS_PACKET_TYPE_ALL_MULTICAST 0x00000004
39#define NDIS_PACKET_TYPE_BROADCAST 0x00000008
40#define NDIS_PACKET_TYPE_SOURCE_ROUTING 0x00000010
41#define NDIS_PACKET_TYPE_PROMISCUOUS 0x00000020
42#define NDIS_PACKET_TYPE_SMT 0x00000040
43#define NDIS_PACKET_TYPE_ALL_LOCAL 0x00000080
44#define NDIS_PACKET_TYPE_GROUP 0x00000100
45#define NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00000200
46#define NDIS_PACKET_TYPE_FUNCTIONAL 0x00000400
47#define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800
48
49
454f18a9
BP
50/* Interface */
51
9c26aa0d 52extern int rndis_filter_init(struct netvsc_driver *driver);
fceaf24a 53
454f18a9 54#endif /* _RNDISFILTER_H_ */
This page took 0.172017 seconds and 5 git commands to generate.