From 2300a130825bf0e7d1e0b47c2117941a012809a0 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 17 Dec 2006 21:17:16 +0000 Subject: add EBT_VERDICT_BITS --- userspace/ebtables2/include/ebtables.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/userspace/ebtables2/include/ebtables.h b/userspace/ebtables2/include/ebtables.h index 1eac563..8f520c6 100644 --- a/userspace/ebtables2/include/ebtables.h +++ b/userspace/ebtables2/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 { -- cgit v1.2.3