|
PcapPlusPlus
20.08
|
Go to the documentation of this file. 1 #ifndef PACKETPP_ARP_LAYER
2 #define PACKETPP_ARP_LAYER
void parseNextLayer()
Definition: ArpLayer.h:117
OsiModelLayer
Definition: ProtocolType.h:233
IPv4Address getSenderIpAddr() const
Definition: ArpLayer.h:103
Definition: IpAddress.h:26
const ProtocolType ARP
Definition: ProtocolType.h:73
uint8_t senderMacAddr[6]
Definition: ArpLayer.h:34
ArpOpcode
Definition: ArpLayer.h:47
uint8_t hardwareSize
Definition: ArpLayer.h:28
@ ARP_REQUEST
ARP request.
Definition: ArpLayer.h:49
IPv4Address getTargetIpAddr() const
Definition: ArpLayer.h:109
@ OsiModelNetworkLayer
Definition: ProtocolType.h:240
std::string toString() const
uint8_t protocolSize
Definition: ArpLayer.h:30
Definition: MacAddress.h:27
uint32_t targetIpAddr
Definition: ArpLayer.h:40
Definition: ArpLayer.h:57
OsiModelLayer getOsiModelLayer() const
Definition: ArpLayer.h:136
uint16_t opcode
Definition: ArpLayer.h:32
MacAddress getTargetMacAddress() const
Definition: ArpLayer.h:97
MacAddress getSenderMacAddress() const
Definition: ArpLayer.h:91
void computeCalculateFields()
uint16_t hardwareType
Definition: ArpLayer.h:24
uint32_t senderIpAddr
Definition: ArpLayer.h:36
The main namespace for the PcapPlusPlus lib.
uint16_t protocolType
Definition: ArpLayer.h:26
Definition: ArpLayer.h:22
@ ARP_REPLY
ARP reply (response)
Definition: ArpLayer.h:50
arphdr * getArpHeader() const
Definition: ArpLayer.h:85
uint8_t targetMacAddr[6]
Definition: ArpLayer.h:38
size_t getHeaderLen() const
Definition: ArpLayer.h:122
ArpLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: ArpLayer.h:67