1 #ifndef PCAPPP_PCAP_DEVICE 2 #define PCAPPP_PCAP_DEVICE 30 pcap_t* m_PcapDescriptor;
88 virtual bool setFilter(std::string filterAsString);
99 #endif // PCAPPP_PCAP_DEVICE The main namespace for the PcapPlusPlus lib.
uint64_t packetsDropByInterface
Definition: PcapDevice.h:48
Definition: PcapDevice.h:27
Definition: PcapFilter.h:136
Definition: RawPacket.h:254
uint64_t packetsDrop
Definition: PcapDevice.h:46
uint64_t packetsRecv
Definition: PcapDevice.h:44
static std::string getPcapLibVersionInfo()
virtual void getStatistics(PcapStats &stats) const =0
static bool matchPacketWithFilter(GeneralFilter &filter, RawPacket *rawPacket)
virtual bool setFilter(std::string filterAsString)
virtual bool setFilter(GeneralFilter &filter)
Definition: Device.h:76
Definition: PcapDevice.h:41