X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b9b03aadb219d06fbad9d110e508db93e45461af..6cfa3b7db8b5585a8443f457dcb728b65a7f7ffd:/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h index 88c9a9eb9..003ab161b 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h @@ -1,21 +1,21 @@ /* LUFA Library - Copyright (C) Dean Camera, 2009. + Copyright (C) Dean Camera, 2010. dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ /* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, and distribute this software - and its documentation for any purpose and without fee is hereby - granted, provided that the above copyright notice appear in all - copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the + Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the software without specific, written prior permission. The author disclaim all warranties with regard to this @@ -45,9 +45,6 @@ #include "Ethernet.h" /* Macros: */ - /** Physical MAC Address of the USB network adapter */ - #define ADAPTER_MAC_ADDRESS {0x02, 0x00, 0x02, 0x00, 0x02, 0x00} - /** Implemented RNDIS Version Major */ #define REMOTE_NDIS_VERSION_MAJOR 0x01 @@ -101,7 +98,7 @@ uint32_t PerPacketInfoLength; uint32_t VcHandle; uint32_t Reserved; - } RNDIS_PACKET_MSG_t; + } RNDIS_Packet_Message_t; /** Type define for a RNDIS Initialize command message */ typedef struct @@ -113,7 +110,7 @@ uint32_t MajorVersion; uint32_t MinorVersion; uint32_t MaxTransferSize; - } RNDIS_INITIALIZE_MSG_t; + } RNDIS_Initialize_Message_t; /** Type define for a RNDIS Initialize complete response message */ typedef struct @@ -132,7 +129,7 @@ uint32_t PacketAlignmentFactor; uint32_t AFListOffset; uint32_t AFListSize; - } RNDIS_INITIALIZE_CMPLT_t; + } RNDIS_Initialize_Complete_t; /** Type define for a RNDIS Keepalive command message */ typedef struct @@ -140,7 +137,7 @@ uint32_t MessageType; uint32_t MessageLength; uint32_t RequestId; - } RNDIS_KEEPALIVE_MSG_t; + } RNDIS_KeepAlive_Message_t; /** Type define for a RNDIS Keepalive complete message */ typedef struct @@ -149,7 +146,7 @@ uint32_t MessageLength; uint32_t RequestId; uint32_t Status; - } RNDIS_KEEPALIVE_CMPLT_t; + } RNDIS_KeepAlive_Complete_t; /** Type define for a RNDIS Reset complete message */ typedef struct @@ -159,7 +156,7 @@ uint32_t Status; uint32_t AddressingReset; - } RNDIS_RESET_CMPLT_t; + } RNDIS_Reset_Complete_t; /** Type define for a RNDIS Set command message */ typedef struct @@ -172,7 +169,7 @@ uint32_t InformationBufferLength; uint32_t InformationBufferOffset; uint32_t DeviceVcHandle; - } RNDIS_SET_MSG_t; + } RNDIS_Set_Message_t; /** Type define for a RNDIS Set complete response message */ typedef struct @@ -181,7 +178,7 @@ uint32_t MessageLength; uint32_t RequestId; uint32_t Status; - } RNDIS_SET_CMPLT_t; + } RNDIS_Set_Complete_t; /** Type define for a RNDIS Query command message */ typedef struct @@ -194,7 +191,7 @@ uint32_t InformationBufferLength; uint32_t InformationBufferOffset; uint32_t DeviceVcHandle; - } RNDIS_QUERY_MSG_t; + } RNDIS_Query_Message_t; /** Type define for a RNDIS Query complete response message */ typedef struct @@ -206,7 +203,7 @@ uint32_t InformationBufferLength; uint32_t InformationBufferOffset; - } RNDIS_QUERY_CMPLT_t; + } RNDIS_Query_Complete_t; /* External Variables: */ extern uint8_t RNDISMessageBuffer[];