Definition: EthDot3Layer.h:36
EthDot3Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: EthDot3Layer.h:55
size_t getHeaderLen() const override
Definition: EthDot3Layer.h:125
void setDestMac(const MacAddress &destMac)
Definition: EthDot3Layer.h:110
MacAddress getSourceMac() const
Definition: EthDot3Layer.h:83
EthDot3Layer(uint8_t *data, size_t dataLen, Packet *packet)
Definition: EthDot3Layer.h:44
MacAddress getDestMac() const
Definition: EthDot3Layer.h:101
std::string toString() const override
OsiModelLayer getOsiModelLayer() const override
Definition: EthDot3Layer.h:138
static bool isDataValid(const uint8_t *data, size_t dataLen)
void computeCalculateFields() override
Definition: EthDot3Layer.h:133
EthDot3Layer(const MacAddress &sourceMac, const MacAddress &destMac, uint16_t length)
void setSourceMac(const MacAddress &sourceMac)
Definition: EthDot3Layer.h:92
void parseNextLayer() override
ether_dot3_header * getEthHeader() const
Definition: EthDot3Layer.h:74
Definition: MacAddress.h:25
void copyTo(uint8_t **arr) const
Definition: MacAddress.h:152
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:364
@ OsiModelDataLinkLayer
Definition: ProtocolType.h:368
const ProtocolType EthernetDot3
Definition: ProtocolType.h:228