summaryrefslogtreecommitdiffstats
path: root/include/ip6tables.h
diff options
context:
space:
mode:
authorYasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>2005-06-22 12:24:21 +0000
committerHarald Welte <laforge@gnumonks.org>2005-06-22 12:24:21 +0000
commit9867e814492275cabfbccd6b30375b0e23eb10cb (patch)
treed8b31329c2cd532ecbe017d38b18856101b25811 /include/ip6tables.h
parenta3a9c0d3e3d9df70c5ea2e64ef792e194dbfbde7 (diff)
reduce code replication of parse_interface() (Yasuyuki Kozakai)
Diffstat (limited to 'include/ip6tables.h')
-rw-r--r--include/ip6tables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index d4dadd88..81d99d86 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -137,6 +137,8 @@ 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, struct ip6tables_rule_match **match);
+extern void parse_interface(const char *arg, char *vianame, unsigned char *mask);
+
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);
extern int delete_chain(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);