1 #ifndef PACKETPP_ETH_DOT3_LAYER 2 #define PACKETPP_ETH_DOT3_LAYER 101 void parseNextLayer();
113 std::string toString()
const;
123 static bool isDataValid(
const uint8_t* data,
size_t dataLen);
128 #endif // PACKETPP_ETH_DOT3_LAYER The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:253
ether_dot3_header * getEthHeader() const
Definition: EthDot3Layer.h:70
Definition: ProtocolType.h:258
MacAddress getSourceMac() const
Definition: EthDot3Layer.h:76
size_t getHeaderLen() const
Definition: EthDot3Layer.h:106
void setSourceMac(const MacAddress &sourceMac)
Definition: EthDot3Layer.h:82
EthDot3Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: EthDot3Layer.h:54
EthDot3Layer(uint8_t *data, size_t dataLen, Packet *packet)
Definition: EthDot3Layer.h:45
void copyTo(uint8_t **arr) const
Definition: MacAddress.h:143
void computeCalculateFields()
Definition: EthDot3Layer.h:111
MacAddress getDestMac() const
Definition: EthDot3Layer.h:88
Definition: EthDot3Layer.h:35
OsiModelLayer getOsiModelLayer() const
Definition: EthDot3Layer.h:115
void setDestMac(const MacAddress &destMac)
Definition: EthDot3Layer.h:94
Definition: MacAddress.h:27
const ProtocolType EthernetDot3
Definition: ProtocolType.h:223