summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-07-27 14:34:53 +0200
committerFlorian Westphal <fw@strlen.de>2016-10-27 22:34:31 +0200
commitc992153402c78d91e8beba791171bced21c62d3f (patch)
tree75ce083cdc31b7ce03cc354561ff255a126d6acf /include
parent2c6a3b7c4f662b7a94a8ba6870565a45df0cbe2c (diff)
ct: allow resolving ct keys at run time
... and remove those keywords we no longer need. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/ct.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ct.h b/include/ct.h
index 945fcc4d..0aeeed60 100644
--- a/include/ct.h
+++ b/include/ct.h
@@ -29,4 +29,6 @@ extern void ct_expr_update_type(struct proto_ctx *ctx, struct expr *expr);
extern struct error_record *ct_dir_parse(const struct location *loc,
const char *str, int8_t *dir);
+extern struct error_record *ct_key_parse(const struct location *loc, const char *str,
+ unsigned int *key);
#endif /* NFTABLES_CT_H */