PcapPlusPlus  20.08+
SystemUtils.h File Reference
#include <stdint.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  pcpp::SystemCore
 
struct  pcpp::SystemCores
 
class  pcpp::AppName
 
class  pcpp::ApplicationEventHandler
 

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Functions

int pcpp::getNumOfCores ()
 
CoreMask pcpp::getCoreMaskForAllMachineCores ()
 
CoreMask pcpp::createCoreMaskFromCoreVector (std::vector< SystemCore > cores)
 
CoreMask pcpp::createCoreMaskFromCoreIds (std::vector< int > coreIds)
 
void pcpp::createCoreVectorFromCoreMask (CoreMask coreMask, std::vector< SystemCore > &resultVec)
 
std::string pcpp::executeShellCommand (const std::string command)
 
bool pcpp::directoryExists (std::string dirPath)
 
int pcpp::clockGetTime (long &sec, long &nsec)
 
void pcpp::multiPlatformSleep (uint32_t seconds)
 
uint16_t pcpp::hostToNet16 (uint16_t host)
 
uint16_t pcpp::netToHost16 (uint16_t net)
 
uint32_t pcpp::hostToNet32 (uint32_t host)
 
uint32_t pcpp::netToHost32 (uint32_t net)