summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ebtables.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ebtables.h b/include/ebtables.h
index 1eac563..8f520c6 100644
--- a/include/ebtables.h
+++ b/include/ebtables.h
@@ -27,6 +27,10 @@
#define EBT_CONTINUE -3
#define EBT_RETURN -4
#define NUM_STANDARD_TARGETS 4
+/* ebtables target modules store the verdict inside an int. We can
+ * reclaim a part of this int for backwards compatible extensions.
+ * The 4 lsb are more than enough to store the verdict. */
+#define EBT_VERDICT_BITS 0x0000000F
struct ebt_counter
{