21 int m_MinAmountOfDataToCopyFromKernelToApplication;
24 WinPcapLiveDevice(pcap_if_t* iface,
bool calculateMTU,
bool calculateMacAddress,
bool calculateDefaultGateway)
26 calculateDefaultGateway)
29 bool calculateDefaultGateway);
55 return m_MinAmountOfDataToCopyFromKernelToApplication;
Definition: PcapLiveDevice.h:66
LiveDeviceType
The type of the live device.
Definition: PcapLiveDevice.h:175
@ WinPcapDevice
WinPcap/Npcap live device.
Definition: PcapLiveDevice.h:179
virtual int sendPackets(RawPacket *rawPacketsArr, int arrLength, bool checkMtu=false)
Definition: PcapLiveDeviceList.h:22
Definition: RawPacket.h:259
Definition: WinPcapLiveDevice.h:17
int getMinAmountOfDataToCopyFromKernelToApplication() const
Definition: WinPcapLiveDevice.h:53
virtual int sendPackets(RawPacket *rawPacketsArr, int arrLength, bool checkMtu=false)
LiveDeviceType getDeviceType() const override
Definition: WinPcapLiveDevice.h:35
void prepareCapture(bool asyncCapture, bool captureStats) override
Called before starting a capture to prepare the device for capturing packets.
bool setMinAmountOfDataToCopyFromKernelToApplication(int size)
WinPcapLiveDevice * clone() const override
The main namespace for the PcapPlusPlus lib.
A struct that contains all details of a network interface.
Definition: PcapLiveDevice.h:73