summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFabrice MARIE <fabrice_marie_sec@yahoo.com>2001-05-05 21:37:47 +0000
committerHarald Welte <laforge@gnumonks.org>2001-05-05 21:37:47 +0000
commit8a5eb6dd67e5fac875da51742d9a954c0ff5d92f (patch)
treee6b2a5e98224687829d3b1185ceb9fbb37b4244d /include
parent6fc86580ac79233e63d23b7559cd6f7eed07ff33 (diff)
ip6tables fixes by Fabrice Maurie
Diffstat (limited to 'include')
-rw-r--r--include/ip6tables.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index 8e20ade7..baa3677e 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -50,6 +50,7 @@ struct ip6tables_match
unsigned int option_offset;
struct ip6t_entry_match *m;
unsigned int mflags;
+ unsigned int used;
};
struct ip6tables_target
@@ -96,6 +97,7 @@ struct ip6tables_target
unsigned int option_offset;
struct ip6t_entry_target *t;
unsigned int tflags;
+ unsigned int used;
};
/* Your shared library should call one of these. */
@@ -114,8 +116,8 @@ enum ip6t_tryload {
LOAD_MUST_SUCCEED
};
-extern struct ip6tables_target *find_target6(const char *name, enum ip6t_tryload);
-extern struct ip6tables_match *find_match6(const char *name, enum ip6t_tryload);
+extern struct ip6tables_target *find_target(const char *name, enum ip6t_tryload);
+extern struct ip6tables_match *find_match(const char *name, enum ip6t_tryload);
extern int for_each_chain(int (*fn)(const ip6t_chainlabel, int, ip6tc_handle_t *), int verbose, int builtinstoo, ip6tc_handle_t *handle);
extern int flush_entries(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);