22 : forwarding_limits_(forwarding_up, forwarding_down) {
23 NATTER_CHECK(forwarding_up <= forwarding_down,
"Forwarding up is greater than forwarding down");
26 ForwardingLimit() : forwarding_limits_(0, std::numeric_limits<Level>::max()) {}
28 uint32_t up()
const {
return std::get<0>(forwarding_limits_); }
29 uint32_t down()
const {
return std::get<1>(forwarding_limits_); }
31 SERIALIZE(forwarding_limits_);
34 std::tuple<Level, Level> forwarding_limits_;