path: root/include/ip6tables.h
diff options
authorPhil Oester <>2006-07-20 17:01:54 +0000
committerPatrick McHardy <>2006-07-20 17:01:54 +0000
commitdbac8ad71c3c418fd8a62c08211885a38177b725 (patch)
treef12056e44275c023cef77e131ef9038e9efc3915 /include/ip6tables.h
parent58179b1d0d1722ea16028aa2ea9d74afc86dd5dc (diff)
reduce parse_*_port duplication (Phil Oester <>)
The below patch (dependent upon my 'reduce service_to_port duplication' patch) centralizes the parse_*_port functions into parse_port.
Diffstat (limited to 'include/ip6tables.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index e711982c..b1140b33 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -134,6 +134,7 @@ 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);
/* Keeping track of external matches and targets: linked lists. */