1 #ifndef PCAPPP_PCAP_DEVICE 2 #define PCAPPP_PCAP_DEVICE 14 #if defined(PCAPPP_MINGW_ENV) && !defined(WIN32) 35 pcap_t* m_PcapDescriptor;
85 virtual bool setFilter(std::string filterAsString);
96 #endif // PCAPPP_PCAP_DEVICE virtual bool setFilter(GeneralFilter &filter)
Definition: Device.h:76
virtual void getStatistics(pcap_stat &stats)=0
static bool verifyFilter(std::string filterAsString)
virtual bool setFilter(std::string filterAsString)
Definition: RawPacket.h:219
static bool matchPacketWithFilter(std::string filterAsString, RawPacket *rawPacket)
The main namespace for the PcapPlusPlus lib.
Definition: PcapDevice.h:32
static std::string getPcapLibVersionInfo()