Examples/TcpReassembly/main.cpp
/**
 * packet capture callback - called whenever a packet arrives on the live device (in live device capturing mode)
 */
packet capture callback - called whenever a packet arrives on the live device (in live device capturing mode)
packet capture callback - called whenever a packet arrives on the live device ( in live device capturing mode )
static void onPacketArrives(pcpp::RawPacket* packet, pcpp::PcapLiveDevice* dev, void* tcpReassemblyCookie)
{
	pcpp::TcpReassembly* tcpReassembly = (pcpp::TcpReassembly*)tcpReassemblyCookie;
	tcpReassembly->reassemblePacket(packet);
}
static void onPacketArrives ( pcpp :: RawPacket * packet , pcpp :: PcapLiveDevice * dev , void * tcpReassemblyCookie ) { pcpp :: TcpReassembly * tcpReassembly = ( pcpp :: TcpReassembly * ) tcpReassemblyCookie ; tcpReassembly -> reassemblePacket ( packet ) ; }
packet capture callback - called whenever a packet arrives on the live device (in live device capturing mode)
packet capture callback - called whenever a packet arrives on the live device ( in live device capturing mode )
// get a pointer to the TCP reassembly instance and feed the packet arrived to it
