Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/netfilter/
Dnf_nat_masquerade_ipv4.c134 static atomic_t masquerade_notifier_refcount = ATOMIC_INIT(0); variable
139 if (atomic_inc_return(&masquerade_notifier_refcount) > 1) in nf_nat_masquerade_ipv4_register_notifier()
152 if (atomic_dec_return(&masquerade_notifier_refcount) > 0) in nf_nat_masquerade_ipv4_unregister_notifier()
/Linux-v4.19/net/ipv6/netfilter/
Dnf_nat_masquerade_ipv6.c165 static atomic_t masquerade_notifier_refcount = ATOMIC_INIT(0); variable
170 if (atomic_inc_return(&masquerade_notifier_refcount) > 1) in nf_nat_masquerade_ipv6_register_notifier()
181 if (atomic_dec_return(&masquerade_notifier_refcount) > 0) in nf_nat_masquerade_ipv6_unregister_notifier()