diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-06-22 12:24:21 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-06-22 12:24:21 +0000 |
commit | 3d11b21da2540b972e6197219fecc10b1773a685 (patch) | |
tree | d8b31329c2cd532ecbe017d38b18856101b25811 /include/ip6tables.h | |
parent | 30d37b15d2edc5a33ead13152e0ed0bf80577645 (diff) |
reduce code replication of parse_interface() (Yasuyuki Kozakai)
Diffstat (limited to 'include/ip6tables.h')
-rw-r--r-- | include/ip6tables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h index d4dadd8..81d99d8 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); |