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);
43 virtual int sendPackets(
RawPacket* rawPacketsArr,
int arrLength);
The main namespace for the PcapPlusPlus lib.
Definition: PcapLiveDevice.h:140
bool setMinAmountOfDataToCopyFromKernelToApplication(int size)
Definition: PointerVector.h:24
LiveDeviceType
Definition: PcapLiveDevice.h:135
Definition: RawPacket.h:254
void(* OnStatsUpdateCallback)(IPcapDevice::PcapStats &stats, void *userCookie)
Definition: PcapLiveDevice.h:57
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:38
Definition: PcapLiveDevice.h:82
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:58
virtual int sendPackets(RawPacket *rawPacketsArr, int arrLength, bool checkMtu=false)
Definition: PcapLiveDeviceList.h:24