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
@@ -15,7 +15,7 @@ void init_ethernetmessage(pybind11::module_& m) {
.def(pybind11::init())
.def_readwrite("preemptionEnabled", &EthernetMessage::preemptionEnabled)
.def_readwrite("preemptionFlags", &EthernetMessage::preemptionFlags)
.def_readwrite("fcsAvailable", &EthernetMessage::fcsAvailable)
.def_readwrite("fcs", &EthernetMessage::fcs)
.def_readwrite("frameTooShort", &EthernetMessage::frameTooShort)
.def_readwrite("noPadding", &EthernetMessage::noPadding)
.def("get_destination_mac", &EthernetMessage::getDestinationMAC, pybind11::return_value_policy::reference)