summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/xtables.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xtables.h b/include/xtables.h
index 7d97baaf..175ae50b 100644
--- a/include/xtables.h
+++ b/include/xtables.h
@@ -416,6 +416,17 @@ struct xtables_globals
#define XT_GETOPT_TABLEEND {.name = NULL, .has_arg = false}
+/*
+ * enum op-
+ *
+ * For writing clean nftables translations code
+ */
+enum xt_op {
+ XT_OP_EQ,
+ XT_OP_NEQ,
+ XT_OP_MAX,
+};
+
#ifdef __cplusplus
extern "C" {
#endif