Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/netfilter/
Diptable_nat.c32 static const struct nf_hook_ops nf_nat_ipv4_ops[] = { variable
71 ops = kmemdup(nf_nat_ipv4_ops, sizeof(nf_nat_ipv4_ops), GFP_KERNEL); in ipt_nat_register_lookups()
75 for (i = 0; i < ARRAY_SIZE(nf_nat_ipv4_ops); i++) { in ipt_nat_register_lookups()
100 for (i = 0; i < ARRAY_SIZE(nf_nat_ipv4_ops); i++) in ipt_nat_unregister_lookups()
/linux-6.1.9/net/netfilter/
Dnf_nat_proto.c791 static const struct nf_hook_ops nf_nat_ipv4_ops[] = { variable
824 return nf_nat_register_fn(net, ops->pf, ops, nf_nat_ipv4_ops, in nf_nat_ipv4_register_fn()
825 ARRAY_SIZE(nf_nat_ipv4_ops)); in nf_nat_ipv4_register_fn()
831 nf_nat_unregister_fn(net, ops->pf, ops, ARRAY_SIZE(nf_nat_ipv4_ops)); in nf_nat_ipv4_unregister_fn()
1088 ret = nf_nat_register_fn(net, NFPROTO_IPV4, ops, nf_nat_ipv4_ops, in nf_nat_inet_register_fn()
1089 ARRAY_SIZE(nf_nat_ipv4_ops)); in nf_nat_inet_register_fn()
1099 nf_nat_unregister_fn(net, NFPROTO_IPV4, ops, ARRAY_SIZE(nf_nat_ipv4_ops)); in nf_nat_inet_unregister_fn()