1 #ifndef PACKETPP_PACKET_UTILS 2 #define PACKETPP_PACKET_UTILS The main namespace for the PcapPlusPlus lib.
AddressType
Definition: IpAddress.h:327
size_t len
Definition: PacketUtils.h:29
uint32_t fnvHash(ScalarBuffer< uint8_t > vec[], size_t vecSize)
uint16_t computePseudoHdrChecksum(uint8_t *dataPtr, size_t dataLen, IPAddress::AddressType ipAddrType, uint8_t protocolType, IPAddress srcIPAddress, IPAddress dstIPAddress)
Definition: PacketUtils.h:19
T * buffer
Definition: PacketUtils.h:24
uint32_t hash2Tuple(Packet *packet)
Definition: IpAddress.h:321
uint16_t computeChecksum(ScalarBuffer< uint16_t > vec[], size_t vecSize)
uint32_t hash5Tuple(Packet *packet, bool const &directionUnique=false)