summaryrefslogtreecommitdiffstats
path: root/xshared.h
diff options
context:
space:
mode:
Diffstat (limited to 'xshared.h')
-rw-r--r--xshared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xshared.h b/xshared.h
index 4a7f96fc..11d95fe5 100644
--- a/xshared.h
+++ b/xshared.h
@@ -1,6 +1,7 @@
#ifndef IPTABLES_XSHARED_H
#define IPTABLES_XSHARED_H 1
+#include <stdint.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
@@ -28,5 +29,8 @@ enum {
extern void print_extension_helps(const struct xtables_target *,
const struct xtables_rule_match *);
+extern const char *proto_to_name(uint8_t, int);
+extern struct xtables_match *find_proto(const char *, enum xtables_tryload,
+ int, struct xtables_rule_match **);
#endif /* IPTABLES_XSHARED_H */