summaryrefslogtreecommitdiffstats
path: root/include/payload.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-02-08 17:02:20 +0100
committerFlorian Westphal <fw@strlen.de>2019-02-08 21:22:33 +0100
commitcc6fef3521c2fdfba4b1daf7be09349e7d807ae1 (patch)
tree9f7c60cb06524e35789c7024aaf7d5250c22f987 /include/payload.h
parent68e76238749fb238bf92e7dc8903fed15a86aa1b (diff)
src: payload: export and use payload_expr_cmp
expr->ops is going away, so export payload cmp and use it directly. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/payload.h')
-rw-r--r--include/payload.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/payload.h b/include/payload.h
index 161c64ae..a914d239 100644
--- a/include/payload.h
+++ b/include/payload.h
@@ -59,4 +59,6 @@ extern void payload_expr_expand(struct list_head *list, struct expr *expr,
extern void payload_expr_complete(struct expr *expr,
const struct proto_ctx *ctx);
+bool payload_expr_cmp(const struct expr *e1, const struct expr *e2);
+
#endif /* NFTABLES_PAYLOAD_H */