EthernetMessage: Fix TX receipts

Fixes
- HardwareEthernetPacket packing
- EthernetMessage::fcs
This commit is contained in:
Kyle Schwarz
2024-12-13 12:55:57 -05:00
parent 4157558e84
commit 34cacf4cf2
5 changed files with 16 additions and 11 deletions
@@ -10,6 +10,8 @@
namespace icsneo {
#pragma pack(push, 2)
typedef uint16_t icscm_bitfield;
struct HardwareEthernetPacket {
@@ -42,6 +44,8 @@ struct HardwareEthernetPacket {
uint16_t Length;
};
#pragma pack(pop)
}
#endif // __cplusplus