summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/include
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
commit2300a130825bf0e7d1e0b47c2117941a012809a0 (patch)
tree44e7d143fe2f524b52dbc0af556102c0c598d9c9 /userspace/ebtables2/include
parent03f23cd7ecc617f8d95aa63749b9fb02f3192a42 (diff)
add EBT_VERDICT_BITS
Diffstat (limited to 'userspace/ebtables2/include')
-rw-r--r--userspace/ebtables2/include/ebtables.h4
1 files changed, 4 insertions, 0 deletions
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
{