path: root/include/iptables.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/iptables.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/iptables.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 9df1a297..1f929772 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -35,8 +35,6 @@ extern int line;
extern void register_match(struct iptables_match *me);
extern void register_target(struct iptables_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 struct in_addr *dotted_to_addr(const char *dotted);
extern struct in_addr *dotted_to_mask(const char *dotted);
extern char *addr_to_dotted(const struct in_addr *addrp);
@@ -46,7 +44,6 @@ extern char *mask_to_dotted(const struct in_addr *mask);
extern void parse_hostnetworkmask(const char *name, struct in_addr **addrpp,
struct in_addr *maskp, unsigned int *naddrs);
extern u_int16_t parse_protocol(const char *s);
-extern void parse_interface(const char *arg, char *vianame, unsigned char *mask);
extern int do_command(int argc, char *argv[], char **table,
iptc_handle_t *handle);