Move DHCP negotiation timer into the DHCP connection application state structure...
[pub/USBasp.git] / Demos / Host / LowLevel / RNDISEthernetHost / Lib / RNDISConstants.h
index f65a66c..67fa78a 100644 (file)
@@ -1,21 +1,21 @@
 /*\r
              LUFA Library\r
 /*\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
               \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
 \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
   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
  *  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
        /* 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_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
                \r
                #define OID_GEN_SUPPORTED_LIST                0x00010101UL\r
                #define OID_GEN_HARDWARE_STATUS               0x00010102UL\r
                #define OID_802_3_RCV_ERROR_ALIGNMENT         0x01020101UL\r
                #define OID_802_3_XMIT_ONE_COLLISION          0x01020102UL\r
                #define OID_802_3_XMIT_MORE_COLLISIONS        0x01020103UL\r
                #define OID_802_3_RCV_ERROR_ALIGNMENT         0x01020101UL\r
                #define OID_802_3_XMIT_ONE_COLLISION          0x01020102UL\r
                #define OID_802_3_XMIT_MORE_COLLISIONS        0x01020103UL\r
-               \r
-               #define RNDIS_PACKET_TYPE_DIRECTED            0x00000001UL\r
-               #define RNDIS_PACKET_TYPE_MULTICAST           0x00000002UL\r
-               #define RNDIS_PACKET_TYPE_ALL_MULTICAST       0x00000004UL\r
-               #define RNDIS_PACKET_TYPE_BROADCAST           0x00000008UL\r
-               #define RNDIS_PACKET_TYPE_SOURCE_ROUTING      0x00000010UL\r
-               #define RNDIS_PACKET_TYPE_PROMISCUOUS         0x00000020UL\r
-               #define RNDIS_PACKET_TYPE_SMT                 0x00000040UL\r
-               #define RNDIS_PACKET_TYPE_ALL_LOCAL           0x00000080UL\r
-               #define RNDIS_PACKET_TYPE_GROUP               0x00001000UL\r
-               #define RNDIS_PACKET_TYPE_ALL_FUNCTIONAL      0x00002000UL\r
-               #define RNDIS_PACKET_TYPE_FUNCTIONAL          0x00004000UL\r
-               #define RNDIS_PACKET_TYPE_MAC_FRAME           0x00008000UL      \r
 \r
 #endif\r
 \r
 #endif\r