1 #ifndef PACKETPP_SLL_LAYER 2 #define PACKETPP_SLL_LAYER 61 SllLayer(uint16_t packetType, uint16_t ARPHRDType);
77 bool setLinkLayerAddr(uint8_t* addr,
size_t addrLength);
84 bool setMacAddressAsLinkLayer(
MacAddress macAddr);
91 void parseNextLayer();
101 void computeCalculateFields();
103 std::string toString()
const;
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:298
size_t getHeaderLen() const
Definition: SllLayer.h:96
Definition: ProtocolType.h:303
const ProtocolType SLL
Definition: ProtocolType.h:138
OsiModelLayer getOsiModelLayer() const
Definition: SllLayer.h:105
SllLayer(uint8_t *data, size_t dataLen, Packet *packet)
Definition: SllLayer.h:54
Definition: SllLayer.h:45
sll_header * getSllHeader() const
Definition: SllLayer.h:69
Definition: MacAddress.h:28