summaryrefslogtreecommitdiffstats
path: root/include/statement.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/statement.h')
-rw-r--r--include/statement.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h
index 8fb459ca..8427f47e 100644
--- a/include/statement.h
+++ b/include/statement.h
@@ -119,6 +119,10 @@ enum nft_nat_etypes {
extern const char *nat_etype2str(enum nft_nat_etypes type);
+enum {
+ STMT_NAT_F_INTERVAL = (1 << 0),
+};
+
struct nat_stmt {
enum nft_nat_etypes type;
struct expr *addr;
@@ -126,6 +130,7 @@ struct nat_stmt {
uint32_t flags;
uint8_t family;
bool ipportmap;
+ uint32_t type_flags;
};
extern struct stmt *nat_stmt_alloc(const struct location *loc,