PcapPlusPlus
|
#include <PcapFilter.h>
Public Member Functions | |
virtual void | parseToString (std::string &result)=0 |
virtual | ~GeneralFilter () |
The base class for all filter classes. This class is virtual and abstract, hence cannot be instantiated.
For deeper understanding of the filter concept please refer to PcapFilter.h
|
virtual |
Virtual destructor, does nothing for this class
|
pure virtual |
A method that parses the class instance into BPF string format
[out] | result | An empty string that the parsing will be written into. If the string isn't empty, its content will be overridden |
Implemented in pcpp::UdpLengthFilter, pcpp::TcpWindowSizeFilter, pcpp::TcpFlagsFilter, pcpp::VlanFilter, pcpp::ArpFilter, pcpp::ProtoFilter, pcpp::NotFilter, pcpp::OrFilter, pcpp::AndFilter, pcpp::EtherTypeFilter, pcpp::MacAddressFilter, pcpp::PortRangeFilter, pcpp::PortFilter, pcpp::IPv4TotalLengthFilter, pcpp::IPv4IDFilter, and pcpp::IPFilter.