diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-07-11 09:50:54 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-07-11 09:50:54 +0000 |
| commit | 15efa067d3d03912bfe58b442b735e594acf9cf5 (patch) | |
| tree | 7a056c1f10c57743eb66aefc125e224b61660506 /Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h | |
| parent | 1b5c5f8c35becac201439e6cb3dc549f5206601a (diff) | |
More endianness porting of the LUFA device mode class drivers.
Add endianness information to the class driver and core structure definitions.
Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1858 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h')
| -rw-r--r-- | Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h index 7749e799..3ce62128 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h @@ -81,6 +81,13 @@ #define NO_PROCESS -1 /* Type Defines: */ + /** Type define for an Ethernet frame buffer data and information structure. */ + typedef struct + { + uint8_t FrameData[ETHERNET_FRAME_SIZE_MAX]; /**< Ethernet frame contents. */ + uint16_t FrameLength; /**< Length in bytes of the Ethernet frame stored in the buffer. */ + } Ethernet_Frame_Info_t; + /** Type define for an Ethernet frame header. */ typedef struct { |
