Examples/TLSFingerprinting/main.cpp
/**
 * packet capture callback - called whenever a packet arrives on the live interface (in live device capturing mode)
 */
packet capture callback - called whenever a packet arrives on the live interface (in live device capturing mode)
packet capture callback - called whenever a packet arrives on the live interface ( in live device capturing mode )
static void onPacketArrives(pcpp::RawPacket* rawPacket, pcpp::PcapLiveDevice* dev, void* cookie)
{
	HandlePacketData* data = static_cast<HandlePacketData*>(cookie);
	handlePacket(rawPacket, data);
}
static void onPacketArrives ( pcpp :: RawPacket * rawPacket , pcpp :: PcapLiveDevice * dev , void * cookie ) { HandlePacketData * data = static_cast < HandlePacketData * > ( cookie ) ; handlePacket ( rawPacket , data ) ; }
packet capture callback - called whenever a packet arrives on the live interface (in live device capturing mode)
packet capture callback - called whenever a packet arrives on the live interface ( in live device capturing mode )