Lines Matching +full:conntrack +full:- +full:related
1 /* SPDX-License-Identifier: GPL-2.0 */
29 #include <net/netns/conntrack.h>
61 * Do not place here read-mostly fields.
222 return ERR_PTR(-EINVAL); in copy_net_ns()
237 return ERR_PTR(-EINVAL); in get_net_ns()
262 refcount_inc(&net->count); in get_net()
273 if (!refcount_inc_not_zero(&net->count)) in maybe_get_net()
280 if (refcount_dec_and_test(&net->count)) in put_net()
292 return refcount_read(&net->count) != 0; in check_net()
337 pnet->net = net; in write_pnet()
344 return pnet->net; in read_pnet()
391 * synchronize_rcu() related to these pernet_operations,
453 return atomic_read(&net->ipv4.rt_genid); in rt_genid_ipv4()
459 return atomic_read(&net->ipv6.fib6_sernum); in rt_genid_ipv6()
465 atomic_inc(&net->ipv4.rt_genid); in rt_genid_bump_ipv4()
479 return &net->ieee802154_lowpan; in net_ieee802154_lowpan()
492 return atomic_read(&net->fnhe_genid); in fnhe_genid()
497 atomic_inc(&net->fnhe_genid); in fnhe_genid_bump()