Home
last modified time | relevance | path

Searched refs:ops_count (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dnf_nat_core.c1192 const struct nf_hook_ops *orig_nat_ops, unsigned int ops_count) in nf_nat_register_fn() argument
1206 for (i = 0; i < ops_count; i++) { in nf_nat_register_fn()
1213 if (WARN_ON_ONCE(i == ops_count)) in nf_nat_register_fn()
1226 for (i = 0; i < ops_count; i++) { in nf_nat_register_fn()
1239 ret = nf_register_net_hooks(net, nat_ops, ops_count); in nf_nat_register_fn()
1242 for (i = 0; i < ops_count; i++) in nf_nat_register_fn()
1267 unsigned int ops_count) in nf_nat_unregister_fn() argument
1288 for (i = 0; i < ops_count; i++) { in nf_nat_unregister_fn()
1294 if (WARN_ON_ONCE(i == ops_count)) in nf_nat_unregister_fn()
1300 nf_unregister_net_hooks(net, nat_ops, ops_count); in nf_nat_unregister_fn()
[all …]
/openbmc/linux/include/net/netfilter/
H A Dnf_nat.h72 const struct nf_hook_ops *nat_ops, unsigned int ops_count);
74 unsigned int ops_count);