Home
last modified time | relevance | path

Searched refs:nat_hook (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dnetfilter.h397 const struct nf_nat_hook *nat_hook; in nf_nat_decode_session() local
400 nat_hook = rcu_dereference(nf_nat_hook); in nf_nat_decode_session()
401 if (nat_hook && nat_hook->decode_session) in nf_nat_decode_session()
402 nat_hook->decode_session(skb, fl); in nf_nat_decode_session()
/linux/net/netfilter/
H A Dnf_conntrack_core.c1737 const struct nf_nat_hook *nat_hook; in nf_conntrack_free() local
1740 nat_hook = rcu_dereference(nf_nat_hook); in nf_conntrack_free()
1741 if (nat_hook) in nf_conntrack_free()
1742 nat_hook->remove_nat_bysrc(ct); in nf_conntrack_free()
H A Dnf_conntrack_netlink.c1862 const struct nf_nat_hook *nat_hook; in ctnetlink_parse_nat_setup() local
1865 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1866 if (!nat_hook) { in ctnetlink_parse_nat_setup()
1877 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1878 if (nat_hook) in ctnetlink_parse_nat_setup()
1884 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
H A Dnf_nat_core.c1308 static const struct nf_nat_hook nat_hook = { variable
1341 RCU_INIT_POINTER(nf_nat_hook, &nat_hook); in nf_nat_init()