37 : default_chain_(
std::move(default_chain)),
38 accept_by_default_(accept_by_default)
71 return {accept_by_default_, 0};
87 return (lhs.default_chain_ == rhs.default_chain_) &&
88 (lhs.accept_by_default_ == rhs.accept_by_default_);
104 return (lhs.default_chain_ != rhs.default_chain_) ||
105 (lhs.accept_by_default_ != rhs.accept_by_default_);
The packet has been accepted, possibly with priority.
Continue evaluating rules.
Filter(const Filter &other)=default
TEST_VIRTUAL std::pair< bool, int > will_accept(const Packet &packet, const MAVAddress &address)
TEST_VIRTUAL Action action(const Packet &packet, const MAVAddress &address)
bool operator==(const Action &lhs, const Action &rhs)
Action::Option action() const
bool operator!=(const Action &lhs, const Action &rhs)
The packet has been rejected.
void priority(int priority)