PcapPlusPlus
21.11
|
#include <PcapFilter.h>
Public Member Functions | |
NotFilter (GeneralFilter *filterToInverse) | |
void | parseToString (std::string &result) |
void | setFilter (GeneralFilter *filterToInverse) |
Public Member Functions inherited from pcpp::GeneralFilter | |
bool | matchPacketWithFilter (RawPacket *rawPacket) |
virtual | ~GeneralFilter () |
A class for creating a filter which is inverse to another filter
For deeper understanding of the filter concept please refer to PcapFilter.h
|
inline |
A constructor that gets a pointer to a filter and create the inverse version of it
[in] | filterToInverse | A pointer to filter which the created filter be the inverse of |
|
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 |
Implements pcpp::GeneralFilter.
|
inline |
Set a filter to create an inverse filter from
[in] | filterToInverse | A pointer to filter which the created filter be the inverse of |