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);
62 #endif // WIN32 || WINx64 || PCAPPP_MINGW_ENV virtual int sendPackets(RawPacket *rawPacketsArr, int arrLength)
Definition: PcapLiveDevice.h:76
Definition: PcapLiveDeviceList.h:25
Definition: PointerVector.h:24
virtual LiveDeviceType getDeviceType()
Definition: WinPcapLiveDevice.h:36
Definition: WinPcapLiveDevice.h:23
bool startCapture(OnPacketArrivesCallback onPacketArrives, void *onPacketArrivesUserCookie, int intervalInSecondsToUpdateStats, OnStatsUpdateCallback onStatsUpdate, void *onStatsUpdateUsrrCookie)
Definition: RawPacket.h:219
bool setMinAmountOfDataToCopyFromKernelToApplication(int size)
Definition: PcapLiveDevice.h:133
bool startCapture(RawPacketVector &capturedPacketsVector)
Definition: WinPcapLiveDevice.h:40
virtual bool startCapture(OnPacketArrivesCallback onPacketArrives, void *onPacketArrivesUserCookie)
void(* OnStatsUpdateCallback)(pcap_stat &stats, void *userCookie)
Definition: PcapLiveDevice.h:49
int getMinAmountOfDataToCopyFromKernelToApplication()
Definition: WinPcapLiveDevice.h:57
LiveDeviceType
Definition: PcapLiveDevice.h:128
The main namespace for the PcapPlusPlus lib.
void(* OnPacketArrivesCallback)(RawPacket *pPacket, PcapLiveDevice *pDevice, void *userCookie)
Definition: PcapLiveDevice.h:30