summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/expression.h1
-rw-r--r--include/hash.h6
2 files changed, 5 insertions, 2 deletions
diff --git a/include/expression.h b/include/expression.h
index 94573de0..9ba87e82 100644
--- a/include/expression.h
+++ b/include/expression.h
@@ -310,6 +310,7 @@ struct expr {
/* EXPR_HASH */
struct expr *expr;
uint32_t mod;
+ bool seed_set;
uint32_t seed;
uint32_t offset;
enum nft_hash_types type;
diff --git a/include/hash.h b/include/hash.h
index 7f9c6f13..693d08a2 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -2,7 +2,9 @@
#define NFTABLES_HASH_H
extern struct expr *hash_expr_alloc(const struct location *loc,
- uint32_t modulus, uint32_t seed,
- uint32_t offset, enum nft_hash_types type);
+ uint32_t modulus,
+ bool seed_set, uint32_t seed,
+ uint32_t offset,
+ enum nft_hash_types type);
#endif /* NFTABLES_HASH_H */