summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2006-07-22 14:10:53 +0000
committerPatrick McHardy <kaber@trash.net>2006-07-22 14:10:53 +0000
commita6c1d926f6c3c00e0c1875d80b9579c95bde2cfa (patch)
treef0e3e44030eb3278ec8098e53e2acd2b02154bf0 /include
parent04a1e4cabd185d7a93bea1ece276343044d9ecd4 (diff)
proto_to_name duplication (Phil Oester <kernel@linuxace.com>)
Update multiport match to use the iptables version of proto_to_name instead of reinventing the wheel.
Diffstat (limited to 'include')
-rw-r--r--include/iptables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h
index ba27cac6..d616c8c4 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -151,6 +151,7 @@ extern int line;
extern void register_match(struct iptables_match *me);
extern void register_target(struct iptables_target *me);
+extern char *proto_to_name(u_int8_t proto, int nolookup);
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);