xt_hook_ops_alloc
struct nf_hook_ops *xt_hook_ops_alloc(const struct xt_table *, nf_hookfn *);
arpfilter_ops = xt_hook_ops_alloc(&packet_filter, arpt_do_table);
filter_ops = xt_hook_ops_alloc(&packet_filter, ipt_do_table);
mangle_ops = xt_hook_ops_alloc(&packet_mangler, iptable_mangle_hook);
rawtable_ops = xt_hook_ops_alloc(table, ipt_do_table);
sectbl_ops = xt_hook_ops_alloc(&security_table, ipt_do_table);
filter_ops = xt_hook_ops_alloc(&packet_filter, ip6t_do_table);
mangle_ops = xt_hook_ops_alloc(&packet_mangler, ip6table_mangle_hook);
rawtable_ops = xt_hook_ops_alloc(table, ip6t_do_table);
sectbl_ops = xt_hook_ops_alloc(&security_table, ip6t_do_table);
EXPORT_SYMBOL_GPL(xt_hook_ops_alloc);