diff options
Diffstat (limited to 'xshared.h')
-rw-r--r-- | xshared.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |