path: root/include/iptables.h
diff options
authorPhil Oester <>2006-07-22 14:10:53 +0000
committerPatrick McHardy <>2006-07-22 14:10:53 +0000
commita6c1d926f6c3c00e0c1875d80b9579c95bde2cfa (patch)
treef0e3e44030eb3278ec8098e53e2acd2b02154bf0 /include/iptables.h
parent04a1e4cabd185d7a93bea1ece276343044d9ecd4 (diff)
proto_to_name duplication (Phil Oester <>)
Update multiport match to use the iptables version of proto_to_name instead of reinventing the wheel.
Diffstat (limited to 'include/iptables.h')
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);