Add FatFS library to the Webserver project, extend the HTTP server so that it now...
[pub/USBasp.git] / Demos / Device / LowLevel / RNDISEthernet / Lib / RNDISConstants.h
index ad66f62..67fa78a 100644 (file)
@@ -1,21 +1,21 @@
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
-  Permission to use, copy, modify, and distribute this software\r
-  and its documentation for any purpose and without fee is hereby\r
-  granted, provided that the above copyright notice appear in all\r
-  copies and that both that the copyright notice and this\r
-  permission notice and warranty disclaimer appear in supporting\r
-  documentation, and that the name of the author not be used in\r
-  advertising or publicity pertaining to distribution of the\r
+  Permission to use, copy, modify, distribute, and sell this \r
+  software and its documentation for any purpose is hereby granted\r
+  without fee, provided that the above copyright notice appear in \r
+  all copies and that both that the copyright notice and this\r
+  permission notice and warranty disclaimer appear in supporting \r
+  documentation, and that the name of the author not be used in \r
+  advertising or publicity pertaining to distribution of the \r
   software without specific, written prior permission.\r
 \r
   The author disclaim all warranties with regard to this\r
@@ -34,8 +34,8 @@
  *  constants, please refer to the Microsoft RNDIS specification.\r
  */\r
  \r
-#ifndef _RNDIS_CONSTANTS_H_\r
-#define _RNDIS_CONSTANTS_H_\r
+#ifndef _RNDIS_CONSTANTS_DEVICE_H_\r
+#define _RNDIS_CONSTANTS_DEVICE_H_\r
 \r
        /* Macros: */\r
                #define REMOTE_NDIS_PACKET_MSG                0x00000001UL\r
                \r
                #define REMOTE_NDIS_DF_CONNECTIONLESS         0x00000001UL\r
                #define REMOTE_NDIS_DF_CONNECTION_ORIENTED    0x00000002UL\r
+\r
+               #define REMOTE_NDIS_PACKET_DIRECTED           0x00000001UL\r
+               #define REMOTE_NDIS_PACKET_MULTICAST          0x00000002UL\r
+               #define REMOTE_NDIS_PACKET_ALL_MULTICAST      0x00000004UL\r
+               #define REMOTE_NDIS_PACKET_BROADCAST          0x00000008UL\r
+               #define REMOTE_NDIS_PACKET_SOURCE_ROUTING     0x00000010UL\r
+               #define REMOTE_NDIS_PACKET_PROMISCUOUS        0x00000020UL\r
+               #define REMOTE_NDIS_PACKET_SMT                0x00000040UL\r
+               #define REMOTE_NDIS_PACKET_ALL_LOCAL          0x00000080UL\r
+               #define REMOTE_NDIS_PACKET_GROUP              0x00001000UL\r
+               #define REMOTE_NDIS_PACKET_ALL_FUNCTIONAL     0x00002000UL\r
+               #define REMOTE_NDIS_PACKET_FUNCTIONAL         0x00004000UL\r
+               #define REMOTE_NDIS_PACKET_MAC_FRAME          0x00008000UL      \r
                \r
                #define OID_GEN_SUPPORTED_LIST                0x00010101UL\r
                #define OID_GEN_HARDWARE_STATUS               0x00010102UL\r