1 #ifndef PCAPPP_PCAP_DEVICE 2 #define PCAPPP_PCAP_DEVICE 30 pcap_t* m_PcapDescriptor;
89 virtual bool setFilter(std::string filterAsString);
100 #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:252
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:77
Definition: PcapDevice.h:41