1 #ifndef PCAPP_WINPCAP_LIVE_DEVICE 2 #define PCAPP_WINPCAP_LIVE_DEVICE 4 #if defined(WIN32) || defined(WINx64) || defined(PCAPPP_MINGW_ENV) 27 int m_MinAmountOfDataToCopyFromKernelToApplication;
30 WinPcapLiveDevice(pcap_if_t* iface,
bool calculateMTU,
bool calculateMacAddress,
bool calculateDefaultGateway);
42 virtual int sendPackets(
RawPacket* rawPacketsArr,
int arrLength);
62 #endif // WIN32 || WINx64 || PCAPPP_MINGW_ENV 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
bool startCapture(OnPacketArrivesCallback onPacketArrives, void *onPacketArrivesUserCookie, int intervalInSecondsToUpdateStats, OnStatsUpdateCallback onStatsUpdate, void *onStatsUpdateUsrrCookie)
void(* OnStatsUpdateCallback)(IPcapDevice::PcapStats &stats, void *userCookie)
Definition: PcapLiveDevice.h:54
bool startCapture(RawPacketVector &capturedPacketsVector)
Definition: WinPcapLiveDevice.h:40
void(* OnPacketArrivesCallback)(RawPacket *pPacket, PcapLiveDevice *pDevice, void *userCookie)
Definition: PcapLiveDevice.h:35
Definition: PcapLiveDevice.h:81
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:25