summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ct.h2
-rw-r--r--include/statement.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ct.h b/include/ct.h
index dadd820f..4c5bd804 100644
--- a/include/ct.h
+++ b/include/ct.h
@@ -33,6 +33,8 @@ extern void ct_expr_update_type(struct proto_ctx *ctx, struct expr *expr);
extern struct stmt *notrack_stmt_alloc(const struct location *loc);
extern struct stmt *flow_offload_stmt_alloc(const struct location *loc,
const char *table_name);
+extern const char *ct_dir2str(int dir);
+extern const char *ct_label2str(unsigned long value);
extern const struct datatype ct_dir_type;
extern const struct datatype ct_state_type;
diff --git a/include/statement.h b/include/statement.h
index fc80dbd5..2c6d0dfa 100644
--- a/include/statement.h
+++ b/include/statement.h
@@ -77,6 +77,7 @@ struct log_stmt {
};
extern const char *log_level(uint32_t level);
+extern int log_level_parse(const char *level);
extern struct stmt *log_stmt_alloc(const struct location *loc);
@@ -107,6 +108,8 @@ enum nft_nat_etypes {
NFT_NAT_REDIR,
};
+extern const char *nat_etype2str(enum nft_nat_etypes type);
+
struct nat_stmt {
enum nft_nat_etypes type;
struct expr *addr;