aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-13 07:23:31 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-13 07:23:31 +0000
commit2626ecb261e3cac22c602a92034b32c4e6d2be87 (patch)
tree4fd5c86dd741e23cacd1f114f5fecae1cd41a467 /Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h
parent652042111c7c058bd56d9847002f166507f492d4 (diff)
downloadlufa-2626ecb261e3cac22c602a92034b32c4e6d2be87.tar.gz
lufa-2626ecb261e3cac22c602a92034b32c4e6d2be87.tar.bz2
lufa-2626ecb261e3cac22c602a92034b32c4e6d2be87.zip
Extend incomplete RNDISHost demo -- can not enumerate a RNDIS device correctly and set the packet filter. No packets are received yet from the test device, need to investigate additional SET commands to see if any critical OIDs have been missed.
Diffstat (limited to 'Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h')
-rw-r--r--Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h b/Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h
index ad66f62db..f65a66cbf 100644
--- a/Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h
+++ b/Demos/Host/Incomplete/RNDISEthernetHost/Lib/RNDISConstants.h
@@ -95,5 +95,18 @@
#define OID_802_3_RCV_ERROR_ALIGNMENT 0x01020101UL
#define OID_802_3_XMIT_ONE_COLLISION 0x01020102UL
#define OID_802_3_XMIT_MORE_COLLISIONS 0x01020103UL
+
+ #define RNDIS_PACKET_TYPE_DIRECTED 0x00000001UL
+ #define RNDIS_PACKET_TYPE_MULTICAST 0x00000002UL
+ #define RNDIS_PACKET_TYPE_ALL_MULTICAST 0x00000004UL
+ #define RNDIS_PACKET_TYPE_BROADCAST 0x00000008UL
+ #define RNDIS_PACKET_TYPE_SOURCE_ROUTING 0x00000010UL
+ #define RNDIS_PACKET_TYPE_PROMISCUOUS 0x00000020UL
+ #define RNDIS_PACKET_TYPE_SMT 0x00000040UL
+ #define RNDIS_PACKET_TYPE_ALL_LOCAL 0x00000080UL
+ #define RNDIS_PACKET_TYPE_GROUP 0x00001000UL
+ #define RNDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00002000UL
+ #define RNDIS_PACKET_TYPE_FUNCTIONAL 0x00004000UL
+ #define RNDIS_PACKET_TYPE_MAC_FRAME 0x00008000UL
#endif