1 #ifndef PACKETPP_ARP_LAYER 2 #define PACKETPP_ARP_LAYER uint16_t protocolType
Definition: ArpLayer.h:26
Definition: ArpLayer.h:22
uint8_t hardwareSize
Definition: ArpLayer.h:28
uint32_t senderIpAddr
Definition: ArpLayer.h:36
size_t getHeaderLen()
Definition: ArpLayer.h:122
The main namespace for the PcapPlusPlus lib.
Definition: IpAddress.h:113
MacAddress getTargetMacAddress()
Definition: ArpLayer.h:97
void computeCalculateFields()
ArpOpcode
Definition: ArpLayer.h:47
OsiModelLayer
Definition: ProtocolType.h:208
uint16_t hardwareType
Definition: ArpLayer.h:24
uint8_t senderMacAddr[6]
Definition: ArpLayer.h:34
IPv4Address getTargetIpAddr()
Definition: ArpLayer.h:109
Definition: ProtocolType.h:71
IPv4Address getSenderIpAddr()
Definition: ArpLayer.h:103
Definition: MacAddress.h:21
ARP request.
Definition: ArpLayer.h:49
void parseNextLayer()
Definition: ArpLayer.h:117
ARP reply (response)
Definition: ArpLayer.h:50
Definition: ProtocolType.h:215
uint16_t opcode
Definition: ArpLayer.h:32
uint8_t targetMacAddr[6]
Definition: ArpLayer.h:38
uint32_t targetIpAddr
Definition: ArpLayer.h:40
OsiModelLayer getOsiModelLayer()
Definition: ArpLayer.h:136
Definition: ArpLayer.h:57
uint8_t protocolSize
Definition: ArpLayer.h:30
arphdr * getArpHeader()
Definition: ArpLayer.h:85
MacAddress getSenderMacAddress()
Definition: ArpLayer.h:91
ArpLayer(uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet)
Definition: ArpLayer.h:67