summaryrefslogtreecommitdiff
path: root/tinyusb/class/cdc_rndis.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-07-14 08:33:39 +0700
committerhathach <[email protected]>2013-07-14 08:33:39 +0700
commit3b12917fb0033e736a6e82f57004a5ad51451f3b (patch)
treee2dc3a1db988b75c52439e5f224eb8f47bedb38a /tinyusb/class/cdc_rndis.h
parent03873135a979c6d9892572d3e6d375e39459b9e0 (diff)
extract send message & wait & get complete message to send_message_get_response_subtask
Diffstat (limited to 'tinyusb/class/cdc_rndis.h')
-rw-r--r--tinyusb/class/cdc_rndis.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tinyusb/class/cdc_rndis.h b/tinyusb/class/cdc_rndis.h
index acc707e87..f858dd53f 100644
--- a/tinyusb/class/cdc_rndis.h
+++ b/tinyusb/class/cdc_rndis.h
@@ -239,6 +239,22 @@ typedef struct {
#define OID_802_3_MULTICAST_LIST 0x01010103
#define OID_802_3_MAXIMUM_LIST_SIZE 0x01010104
+//
+// Ndis Packet Filter Bits (OID_GEN_CURRENT_PACKET_FILTER).
+//
+#define NDIS_PACKET_TYPE_DIRECTED 0x00000001
+#define NDIS_PACKET_TYPE_MULTICAST 0x00000002
+#define NDIS_PACKET_TYPE_ALL_MULTICAST 0x00000004
+#define NDIS_PACKET_TYPE_BROADCAST 0x00000008
+#define NDIS_PACKET_TYPE_SOURCE_ROUTING 0x00000010
+#define NDIS_PACKET_TYPE_PROMISCUOUS 0x00000020
+#define NDIS_PACKET_TYPE_SMT 0x00000040
+#define NDIS_PACKET_TYPE_ALL_LOCAL 0x00000080
+#define NDIS_PACKET_TYPE_GROUP 0x00001000
+#define NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00002000
+#define NDIS_PACKET_TYPE_FUNCTIONAL 0x00004000
+#define NDIS_PACKET_TYPE_MAC_FRAME 0x00008000
+#define NDIS_PACKET_TYPE_NO_LOCAL 0x00010000
#ifdef __cplusplus
}