36 #ifndef __DEV_NET_ETHERPKT_HH__
37 #define __DEV_NET_ETHERPKT_HH__
92 #endif // __DEV_NET_ETHERPKT_HH__
unsigned bufLength
Total size of the allocated data buffer.
unsigned simLength
Effective length, used for modeling timing in the simulator.
unsigned length
Amount of space occupied by the payload in the data buffer.
std::shared_ptr< EthPacketData > EthPacketPtr
void unserialize(const std::string &base, CheckpointIn &cp)
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
EthPacketData(unsigned size)
uint8_t * data
Pointer to packet data will be deleted.
std::ostream CheckpointOut
void serialize(const std::string &base, CheckpointOut &cp) const