Remove remaining void* descriptor casts in the projects and demos that were not remov...
[pub/USBasp.git] / Demos / Device / LowLevel / RNDISEthernet / Lib / Ethernet.h
index e83bad8..49c6b1c 100644 (file)
                {
                        MAC_Address_t Destination; /**< Physical MAC address of the packet recipient */
                        MAC_Address_t Source; /**< Physics MAC address of the packet source */
                {
                        MAC_Address_t Destination; /**< Physical MAC address of the packet recipient */
                        MAC_Address_t Source; /**< Physics MAC address of the packet source */
-                       
-                       union
-                       {
-                               uint16_t  EtherType; /**< Ethernet packet sub-protocol type, for Ethernet V2 packets */
-                               uint16_t  Length; /**< Ethernet frame length, for Ethernet V1 packets */
-                       };
+                       uint16_t      EtherType; /**< Ethernet packet sub-protocol type, for Ethernet V2 packets */
                } Ethernet_Frame_Header_t;
                
        /* External Variables: */
                } Ethernet_Frame_Header_t;
                
        /* External Variables: */
                
        /* Function Prototypes: */
                void     Ethernet_ProcessPacket(void);
                
        /* Function Prototypes: */
                void     Ethernet_ProcessPacket(void);
-               uint16_t Ethernet_Checksum16(void* Data, uint16_t Bytes);
+               uint16_t Ethernet_Checksum16(void* Data,
+                                            uint16_t Bytes);
                
 #endif
                
 #endif