|
PcapPlusPlus
25.05
|
#include <PcapFilter.h>
Public Member Functions | |
| void | setDirection (Direction dir) |
Public Member Functions inherited from pcpp::GeneralFilter | |
| virtual void | parseToString (std::string &result)=0 |
| bool | matchPacketWithFilter (RawPacket *rawPacket) |
| virtual | ~GeneralFilter ()=default |
| Virtual destructor, frees the bpf program. | |
An abstract class that is the base class for all filters which contain a direction (source or destination). This class cannot be instantiated
For deeper understanding of the filter concept please refer to PcapFilter.h
|
inline |
Set the direction for the filter (source or destination)
| [in] | dir | The direction |