33#ifndef __DEV_NET_ETHERPKT_HH__
34#define __DEV_NET_ETHERPKT_HH__
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
EthPacketData(unsigned size)
unsigned simLength
Effective length, used for modeling timing in the simulator.
unsigned length
Amount of space occupied by the payload in the data buffer.
uint8_t * data
Pointer to packet data will be deleted.
void serialize(const std::string &base, CheckpointOut &cp) const
unsigned bufLength
Total size of the allocated data buffer.
void unserialize(const std::string &base, CheckpointIn &cp)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ostream CheckpointOut
std::shared_ptr< EthPacketData > EthPacketPtr