PcapPlusPlus  24.09
PacketUtils.h File Reference
#include "Packet.h"
#include "IpAddress.h"

Go to the source code of this file.

Classes

struct  pcpp::ScalarBuffer< T >
 

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Functions

uint16_t pcpp::computeChecksum (ScalarBuffer< uint16_t > vec[], size_t vecSize)
 
uint16_t pcpp::computePseudoHdrChecksum (uint8_t *dataPtr, size_t dataLen, IPAddress::AddressType ipAddrType, uint8_t protocolType, IPAddress srcIPAddress, IPAddress dstIPAddress)
 
uint32_t pcpp::fnvHash (ScalarBuffer< uint8_t > vec[], size_t vecSize)
 
uint32_t pcpp::fnvHash (uint8_t *buffer, size_t bufSize)
 
uint32_t pcpp::hash5Tuple (Packet *packet, bool const &directionUnique=false)
 
uint32_t pcpp::hash2Tuple (Packet *packet)