From 9867e814492275cabfbccd6b30375b0e23eb10cb Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Wed, 22 Jun 2005 12:24:21 +0000 Subject: reduce code replication of parse_interface() (Yasuyuki Kozakai) --- include/ip6tables.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ip6tables.h') 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); -- cgit v1.2.3