summaryrefslogtreecommitdiffstats
path: root/include/ebtables.h
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2006-12-17 21:17:16 +0000
committerBart De Schuymer <bdschuym@pandora.be>2006-12-17 21:17:16 +0000
commit3898a4a085365afb3cc0725fb32500149b203a42 (patch)
treeb1733289a585d7617340fa001886051a638a2d4e /include/ebtables.h
parent1cda4be493c3d2bccfcc34d8ad8132270e6cf3e9 (diff)
add EBT_VERDICT_BITS
Diffstat (limited to 'include/ebtables.h')
-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
{