diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ct.h | 4 | ||||
-rw-r--r-- | include/expression.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/ct.h b/include/ct.h index 64366ab7..945fcc4d 100644 --- a/include/ct.h +++ b/include/ct.h @@ -24,7 +24,9 @@ struct ct_template { } extern struct expr *ct_expr_alloc(const struct location *loc, - enum nft_ct_keys key); + enum nft_ct_keys key, int8_t direction); 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); #endif /* NFTABLES_CT_H */ diff --git a/include/expression.h b/include/expression.h index 010cb954..eacbb2d5 100644 --- a/include/expression.h +++ b/include/expression.h @@ -273,6 +273,7 @@ struct expr { struct { /* EXPR_CT */ enum nft_ct_keys key; + int8_t direction; } ct; }; }; |