summaryrefslogtreecommitdiffstats
path: root/include/ip6tables.h
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2006-07-20 17:00:19 +0000
committerPatrick McHardy <kaber@trash.net>2006-07-20 17:00:19 +0000
commit58179b1d0d1722ea16028aa2ea9d74afc86dd5dc (patch)
treec7345c2720ad5cf6ffb5ebe4bf5bc985b609ec51 /include/ip6tables.h
parent7f5be628f66ec7b8b22e87ace39ee61213c6313b (diff)
reduce service_to_port duplication (Phil Oester <kernel@linuxace.com>)
The service_to_port function is used in a number of places, and could benefit from some centralization instead of being duplicated everywhere.
Diffstat (limited to 'include/ip6tables.h')
-rw-r--r--include/ip6tables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index 96f9798b..e711982c 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -133,6 +133,7 @@ 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 int do_command6(int argc, char *argv[], char **table,
ip6tc_handle_t *handle);
/* Keeping track of external matches and targets: linked lists. */