summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/proto.h3
-rw-r--r--include/rule.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index 35e760c7..6a9289b1 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -413,4 +413,7 @@ extern const struct datatype icmp6_type_type;
extern const struct datatype dscp_type;
extern const struct datatype ecn_type;
+struct eval_ctx;
+struct proto_ctx *eval_proto_ctx(struct eval_ctx *ctx);
+
#endif /* NFTABLES_PROTO_H */
diff --git a/include/rule.h b/include/rule.h
index 00a1bac5..c1b46414 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -769,7 +769,7 @@ struct eval_ctx {
struct set *set;
struct stmt *stmt;
struct expr_ctx ectx;
- struct proto_ctx pctx;
+ struct proto_ctx _pctx;
};
extern int cmd_evaluate(struct eval_ctx *ctx, struct cmd *cmd);