Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv6/netfilter/
Dnf_nat_masquerade_ipv6.c95 static atomic_t masquerade_notifier_refcount = ATOMIC_INIT(0); variable
100 if (atomic_inc_return(&masquerade_notifier_refcount) > 1) in nf_nat_masquerade_ipv6_register_notifier()
111 if (atomic_dec_return(&masquerade_notifier_refcount) > 0) in nf_nat_masquerade_ipv6_unregister_notifier()
/linux-4.4.14/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()