diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-21 19:35:39 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-21 19:35:39 +0000 |
commit | 31b483558f4eeaf311560f2c0f2aad6cb6bca250 (patch) | |
tree | 63b34ae38eb26eb1ceee866f03ad81785945df46 /userspace/ebtables2/include | |
parent | 6bb86db78c51419b3561f8e6b69680bf64f60c9b (diff) |
relocate counterchanges
Diffstat (limited to 'userspace/ebtables2/include')
-rw-r--r-- | userspace/ebtables2/include/ebtables_u.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h index 7eff5b2..de67a8d 100644 --- a/userspace/ebtables2/include/ebtables_u.h +++ b/userspace/ebtables2/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); |