92 return typeid(*this) ==
typeid(other) &&
93 condition_ == static_cast<const Reject &>(other).condition_;
99 return typeid(*this) !=
typeid(other) ||
100 condition_ != static_cast<const Reject &>(other).condition_;
static Action make_reject()
virtual std::ostream & print_(std::ostream &os) const
virtual Action action(const Packet &packet, const MAVAddress &address) const
static Action make_continue()
virtual bool operator==(const Rule &other) const
virtual std::unique_ptr< Rule > clone() const
Reject(std::optional< If > condition={})
std::optional< If > condition_
virtual bool operator!=(const Rule &other) const