summaryrefslogtreecommitdiffstats
path: root/include/ebtables_u.h
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-07-21 19:35:39 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-07-21 19:35:39 +0000
commited05343c06ef23d38c2f7ed886ba5d40cfb994b4 (patch)
tree4a2b879a38b5811a3747cec8449b4031a244b844 /include/ebtables_u.h
parent2268250719338ccc6fccf9c2bc9382a90e9e4d8c (diff)
relocate counterchanges
Diffstat (limited to 'include/ebtables_u.h')
-rw-r--r--include/ebtables_u.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h
index 7eff5b2..de67a8d 100644
--- a/include/ebtables_u.h
+++ b/include/ebtables_u.h
@@ -68,6 +68,8 @@ struct ebt_u_replace
int selected_hook;
// used for the atomic option
char *filename;
+ // tells what happened to the old rules
+ unsigned short *counterchanges;
};
struct ebt_u_table
@@ -194,8 +196,7 @@ struct ebt_u_target *find_target(const char *name);
struct ebt_u_match *find_match(const char *name);
struct ebt_u_watcher *find_watcher(const char *name);
struct ebt_u_table *find_table(char *name);
-void deliver_counters(struct ebt_u_replace *repl,
- unsigned short * counterchanges);
+void deliver_counters(struct ebt_u_replace *repl);
void deliver_table(struct ebt_u_replace *repl);
void get_dbinfo(struct brdb_dbinfo *nr);
void get_db(int len, struct brdb_dbentry *db);