diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rule.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rule.h b/include/rule.h index 6301fe35..d5b31765 100644 --- a/include/rule.h +++ b/include/rule.h @@ -363,6 +363,11 @@ static inline bool set_is_meter(uint32_t set_flags) return set_is_anonymous(set_flags) && (set_flags & NFT_SET_EVAL); } +static inline bool set_is_interval(uint32_t set_flags) +{ + return set_flags & NFT_SET_INTERVAL; +} + #include <statement.h> struct counter { |