path: root/include/ip6tables.h
diff options
authorYasuyuki KOZAKAI <>2007-07-24 05:53:48 +0000
committerYasuyuki KOZAKAI <>2007-07-24 05:53:48 +0000
commit04f8c54dc52e19096d31d94593bd1040716afe4d (patch)
treedf628c95c8f2f5f25cf5f7bdebcca8f8ae8d4e93 /include/ip6tables.h
parent0d502bcdbc97ed359e84f6a21dfa0049b3b60a6c (diff)
Moves some duplicated functions in ip[6]tables.c to xtables.c
string_to_number_ll, string_to_number_l, string_to_number, service_to_port, parse_port, parse_interface, are moved.
Diffstat (limited to 'include/ip6tables.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index b9e364e9..90e32836 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -36,11 +36,8 @@ extern int line;
extern void register_match6(struct ip6tables_match *me);
extern void register_target6(struct ip6tables_target *me);
-extern int service_to_port(const char *name, const char *proto);
-extern u_int16_t parse_port(const char *port, const char *proto);
extern int do_command6(int argc, char *argv[], char **table,
ip6tc_handle_t *handle);
-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);