CompiledFilter.matches

bool matches(const ref Packet pkt) const

Checks if a packet matches this filter.

Parameters

pktThe packet to check.

Returns

true if the packet matches the filter.