path: root/include
diff options
authorShivani Bhardwaj <>2016-01-23 02:25:55 +0530
committerPablo Neira Ayuso <>2016-03-03 19:54:30 +0100
commitcf8e0db8aacbafac5acb1f42afd62d8215ca5863 (patch)
tree7202b75c39b68c1a6c553a3102c7b40dce10a702 /include
parent45e5e4e92a2c882b22e95a807026611612d57729 (diff)
src: Add support for masquerade port selection
Provide full support for masquerading by allowing port range selection, eg. # nft add rule nat postrouting ip protocol tcp masquerade to :1024-10024 Signed-off-by: Shivani Bhardwaj <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h
index 102d95f1..e7872b0b 100644
--- a/include/statement.h
+++ b/include/statement.h
@@ -86,6 +86,7 @@ extern struct stmt *nat_stmt_alloc(const struct location *loc);
struct masq_stmt {
uint32_t flags;
+ struct expr *proto;
extern struct stmt *masq_stmt_alloc(const struct location *loc);