Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/netfilter/
Dip6table_nat.c38 static const struct nf_hook_ops nf_nat_ipv6_ops[] = { variable
69 for (i = 0; i < ARRAY_SIZE(nf_nat_ipv6_ops); i++) { in ip6t_nat_register_lookups()
70 ret = nf_nat_ipv6_register_fn(net, &nf_nat_ipv6_ops[i]); in ip6t_nat_register_lookups()
73 nf_nat_ipv6_unregister_fn(net, &nf_nat_ipv6_ops[--i]); in ip6t_nat_register_lookups()
86 for (i = 0; i < ARRAY_SIZE(nf_nat_ipv6_ops); i++) in ip6t_nat_unregister_lookups()
87 nf_nat_ipv6_unregister_fn(net, &nf_nat_ipv6_ops[i]); in ip6t_nat_unregister_lookups()
/Linux-v5.10/net/netfilter/
Dnf_nat_proto.c975 static const struct nf_hook_ops nf_nat_ipv6_ops[] = { variable
1008 return nf_nat_register_fn(net, ops->pf, ops, nf_nat_ipv6_ops, in nf_nat_ipv6_register_fn()
1009 ARRAY_SIZE(nf_nat_ipv6_ops)); in nf_nat_ipv6_register_fn()
1015 nf_nat_unregister_fn(net, ops->pf, ops, ARRAY_SIZE(nf_nat_ipv6_ops)); in nf_nat_ipv6_unregister_fn()
1028 ret = nf_nat_register_fn(net, NFPROTO_IPV6, ops, nf_nat_ipv6_ops, in nf_nat_inet_register_fn()
1029 ARRAY_SIZE(nf_nat_ipv6_ops)); in nf_nat_inet_register_fn()
1037 ARRAY_SIZE(nf_nat_ipv6_ops)); in nf_nat_inet_register_fn()
1045 nf_nat_unregister_fn(net, NFPROTO_IPV6, ops, ARRAY_SIZE(nf_nat_ipv6_ops)); in nf_nat_inet_unregister_fn()