1 #ifndef PCAPP_WINPCAP_LIVE_DEVICE 2 #define PCAPP_WINPCAP_LIVE_DEVICE 27 int m_MinAmountOfDataToCopyFromKernelToApplication;
30 WinPcapLiveDevice(pcap_if_t* iface,
bool calculateMTU,
bool calculateMacAddress,
bool calculateDefaultGateway);
42 virtual int sendPackets(
RawPacket* rawPacketsArr,
int arrLength);
The main namespace for the PcapPlusPlus lib.
Definition: PcapLiveDevice.h:138
bool setMinAmountOfDataToCopyFromKernelToApplication(int size)
Definition: PointerVector.h:24
LiveDeviceType
Definition: PcapLiveDevice.h:133
Definition: RawPacket.h:252
void(* OnStatsUpdateCallback)(IPcapDevice::PcapStats &stats, void *userCookie)
Definition: PcapLiveDevice.h:55
bool startCapture(RawPacketVector &capturedPacketsVector)
Definition: WinPcapLiveDevice.h:40
bool startCapture(OnPacketArrivesCallback onPacketArrives, void *onPacketArrivesUserCookie, int intervalInSecondsToUpdateStats, OnStatsUpdateCallback onStatsUpdate, void *onStatsUpdateUserCookie)
void(* OnPacketArrivesCallback)(RawPacket *pPacket, PcapLiveDevice *pDevice, void *userCookie)
Definition: PcapLiveDevice.h:36
Definition: PcapLiveDevice.h:80
Definition: WinPcapLiveDevice.h:23
virtual LiveDeviceType getDeviceType() const
Definition: WinPcapLiveDevice.h:36
virtual bool startCapture(OnPacketArrivesCallback onPacketArrives, void *onPacketArrivesUserCookie)
int getMinAmountOfDataToCopyFromKernelToApplication() const
Definition: WinPcapLiveDevice.h:57
Definition: PcapLiveDeviceList.h:24