1 #ifndef PACKETPP_ETH_DOT3_LAYER 2 #define PACKETPP_ETH_DOT3_LAYER 102 void parseNextLayer();
114 std::string toString()
const;
124 static bool isDataValid(
const uint8_t* data,
size_t dataLen);
129 #endif // PACKETPP_ETH_DOT3_LAYER The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:298
ether_dot3_header * getEthHeader() const
Definition: EthDot3Layer.h:71
Definition: ProtocolType.h:303
MacAddress getSourceMac() const
Definition: EthDot3Layer.h:77
size_t getHeaderLen() const
Definition: EthDot3Layer.h:107
void setSourceMac(const MacAddress &sourceMac)
Definition: EthDot3Layer.h:83
EthDot3Layer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: EthDot3Layer.h:55
EthDot3Layer(uint8_t *data, size_t dataLen, Packet *packet)
Definition: EthDot3Layer.h:46
void copyTo(uint8_t **arr) const
Definition: MacAddress.h:146
void computeCalculateFields()
Definition: EthDot3Layer.h:112
MacAddress getDestMac() const
Definition: EthDot3Layer.h:89
Definition: EthDot3Layer.h:36
OsiModelLayer getOsiModelLayer() const
Definition: EthDot3Layer.h:116
void setDestMac(const MacAddress &destMac)
Definition: EthDot3Layer.h:95
Definition: MacAddress.h:28
const ProtocolType EthernetDot3
Definition: ProtocolType.h:223