Searched refs:ops_count (Results 1 – 2 of 2) sorted by relevance
1076 const struct nf_hook_ops *orig_nat_ops, unsigned int ops_count) in nf_nat_register_fn() argument1090 for (i = 0; i < ops_count; i++) { in nf_nat_register_fn()1097 if (WARN_ON_ONCE(i == ops_count)) in nf_nat_register_fn()1104 nat_ops = kmemdup(orig_nat_ops, sizeof(*orig_nat_ops) * ops_count, GFP_KERNEL); in nf_nat_register_fn()1110 for (i = 0; i < ops_count; i++) { in nf_nat_register_fn()1123 ret = nf_register_net_hooks(net, nat_ops, ops_count); in nf_nat_register_fn()1126 for (i = 0; i < ops_count; i++) in nf_nat_register_fn()1151 unsigned int ops_count) in nf_nat_unregister_fn() argument1172 for (i = 0; i < ops_count; i++) { in nf_nat_unregister_fn()1178 if (WARN_ON_ONCE(i == ops_count)) in nf_nat_unregister_fn()[all …]
72 const struct nf_hook_ops *nat_ops, unsigned int ops_count);74 unsigned int ops_count);