51 uint32_t
fnvHash(uint8_t* buffer,
size_t bufSize);
Definition: Serializers.h:214
Definition: IpAddress.h:318
AddressType
An enum representing the address type: IPv4 or IPv6.
Definition: IpAddress.h:322
Definition: Serializers.h:78
Definition: PacketUtils.h:74
void addPackets(const PointerVector< Packet > &packets)
void addPacket(const Packet *packet)
void addPackets(const std::vector< Packet > &packets)
PacketSerializer(ISerializer &serializer)
Definition: PacketUtils.h:78
void addPacket(const Packet &packet)
Definition: PointerVector.h:50
The main namespace for the PcapPlusPlus lib.
Definition: AssertionUtils.h:19
uint32_t hash2Tuple(Packet *packet)
uint32_t hash5Tuple(Packet *packet, bool const &directionUnique=false)
uint16_t computePseudoHdrChecksum(uint8_t *dataPtr, size_t dataLen, IPAddress::AddressType ipAddrType, uint8_t protocolType, IPAddress srcIPAddress, IPAddress dstIPAddress)
uint16_t computeChecksum(ScalarBuffer< uint16_t > vec[], size_t vecSize)
uint32_t fnvHash(ScalarBuffer< uint8_t > vec[], size_t vecSize)
Definition: Serializers.h:18
A struct that represent a single buffer.
Definition: PacketUtils.h:15
T * buffer
The pointer to the buffer.
Definition: PacketUtils.h:17
size_t len
Buffer length.
Definition: PacketUtils.h:20