summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/include/ebtables_u.h
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-05-24 20:49:27 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-05-24 20:49:27 +0000
commit90f4fca5a26014cf0b86837b673e5dceb0c71ebe (patch)
tree728957774ecfc6691438b679ef460465be2d4b8e /userspace/ebtables2/include/ebtables_u.h
parente773028f9636ecc388d68dee13fbe3057513f905 (diff)
add change field
Diffstat (limited to 'userspace/ebtables2/include/ebtables_u.h')
-rw-r--r--userspace/ebtables2/include/ebtables_u.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h
index ab08f2e..3f1a8cf 100644
--- a/userspace/ebtables2/include/ebtables_u.h
+++ b/userspace/ebtables2/include/ebtables_u.h
@@ -59,6 +59,7 @@ struct ebt_cntchanges;
struct ebt_cntchanges
{
unsigned short type;
+ unsigned short change; /* determines incremental/decremental/change */
struct ebt_cntchanges *next;
};
@@ -259,7 +260,7 @@ void ebt_delete_rule(struct ebt_u_replace *replace,
void ebt_zero_counters(struct ebt_u_replace *replace);
void ebt_change_counters(struct ebt_u_replace *replace,
struct ebt_u_entry *new_entry, int begin, int end,
- struct ebt_counter *cnt);
+ struct ebt_counter *cnt, int mask);
void ebt_new_chain(struct ebt_u_replace *replace, const char *name, int policy);
void ebt_delete_chain(struct ebt_u_replace *replace);
void ebt_rename_chain(struct ebt_u_replace *replace, const char *name);
@@ -329,8 +330,6 @@ __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];