Definition: EthDot3Layer.h:36
void computeCalculateFields()
Definition: EthDot3Layer.h:134
EthDot3Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: EthDot3Layer.h:55
size_t getHeaderLen() const
Definition: EthDot3Layer.h:126
std::string toString() const
void setDestMac(const MacAddress &destMac)
Definition: EthDot3Layer.h:111
MacAddress getSourceMac() const
Definition: EthDot3Layer.h:84
EthDot3Layer(uint8_t *data, size_t dataLen, Packet *packet)
Definition: EthDot3Layer.h:44
MacAddress getDestMac() const
Definition: EthDot3Layer.h:102
static bool isDataValid(const uint8_t *data, size_t dataLen)
EthDot3Layer(const MacAddress &sourceMac, const MacAddress &destMac, uint16_t length)
void setSourceMac(const MacAddress &sourceMac)
Definition: EthDot3Layer.h:93
OsiModelLayer getOsiModelLayer() const
Definition: EthDot3Layer.h:139
ether_dot3_header * getEthHeader() const
Definition: EthDot3Layer.h:75
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:354
@ OsiModelDataLinkLayer
Definition: ProtocolType.h:358
const ProtocolType EthernetDot3
Definition: ProtocolType.h:228