summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/include
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-02-14 20:20:03 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-02-14 20:20:03 +0000
commitf481282f76900bc06d43a1eb3c38dd8a7a680dfa (patch)
tree1abeca5fc74295b675f12725570206f51bc65b07 /userspace/ebtables2/include
parent6731d6eb86c5fbdb1ffdd1d167162594c8b8beb7 (diff)
complete -c and -C implementation
Diffstat (limited to 'userspace/ebtables2/include')
-rw-r--r--userspace/ebtables2/include/ebtables_u.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h
index 24c5045..ab08f2e 100644
--- a/userspace/ebtables2/include/ebtables_u.h
+++ b/userspace/ebtables2/include/ebtables_u.h
@@ -130,6 +130,7 @@ struct ebt_u_entry
struct ebt_entry_target *t;
struct ebt_u_entry *next;
struct ebt_counter cnt;
+ struct ebt_counter cnt_surplus; /* for increasing/decreasing a counter and for option 'C' */
/* the standard target needs this to know the name of a udc when
* printing out rules. */
struct ebt_u_replace *replace;
@@ -328,6 +329,8 @@ __ret;})
#define CNT_OWRITE 3
#define CNT_ZERO 4
#define CNT_CHANGE 5
+#define CNT_INCR 6
+#define CNT_DECR 7
extern const char *ebt_hooknames[NF_BR_NUMHOOKS];
extern const char *ebt_standard_targets[NUM_STANDARD_TARGETS];