X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b9b03aadb219d06fbad9d110e508db93e45461af..21cc9c9e19ce6bd757410cc6da29b5dc2ee8041c:/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..72f9f5f47 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h @@ -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[];