netfilter: xtables: use xt_table for hook instantiation
[deliverable/linux.git] / include / linux / netfilter / x_tables.h
index 365fabe1b16e627e0430e8e5ef480eccadd0a697..fdd3342c123597a669006ae1f704c2e047e4009e 100644 (file)
@@ -361,6 +361,7 @@ struct xt_table {
        struct module *me;
 
        u_int8_t af;            /* address/protocol family */
+       int priority;           /* hook order */
 
        /* A unique name... */
        const char name[XT_TABLE_MAXNAMELEN];
@@ -522,6 +523,9 @@ static inline unsigned long ifname_compare_aligned(const char *_a,
        return ret;
 }
 
+extern struct nf_hook_ops *xt_hook_link(const struct xt_table *, nf_hookfn *);
+extern void xt_hook_unlink(const struct xt_table *, struct nf_hook_ops *);
+
 #ifdef CONFIG_COMPAT
 #include <net/compat.h>
 
This page took 0.024471 seconds and 5 git commands to generate.