|
PcapPlusPlus
20.08
|
Go to the documentation of this file. 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
bool setMinAmountOfDataToCopyFromKernelToApplication(int size)
Definition: PcapLiveDevice.h:76
virtual bool startCapture(OnPacketArrivesCallback onPacketArrives, void *onPacketArrivesUserCookie)
bool startCapture(OnPacketArrivesCallback onPacketArrives, void *onPacketArrivesUserCookie, int intervalInSecondsToUpdateStats, OnStatsUpdateCallback onStatsUpdate, void *onStatsUpdateUsrrCookie)
virtual int sendPackets(RawPacket *rawPacketsArr, int arrLength)
Definition: WinPcapLiveDevice.h:23
LiveDeviceType
Definition: PcapLiveDevice.h:128
void(* OnPacketArrivesCallback)(RawPacket *pPacket, PcapLiveDevice *pDevice, void *userCookie)
Definition: PcapLiveDevice.h:30
@ WinPcapDevice
Definition: PcapLiveDevice.h:133
Definition: PcapLiveDeviceList.h:25
The main namespace for the PcapPlusPlus lib.
bool startCapture(RawPacketVector &capturedPacketsVector)
Definition: WinPcapLiveDevice.h:40
virtual LiveDeviceType getDeviceType() const
Definition: WinPcapLiveDevice.h:36
int getMinAmountOfDataToCopyFromKernelToApplication() const
Definition: WinPcapLiveDevice.h:57
void(* OnStatsUpdateCallback)(pcap_stat &stats, void *userCookie)
Definition: PcapLiveDevice.h:49
Definition: PointerVector.h:24
Definition: RawPacket.h:252