Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dnetfilter.h393 const struct nf_nat_hook *nat_hook; in nf_nat_decode_session() local
396 nat_hook = rcu_dereference(nf_nat_hook); in nf_nat_decode_session()
397 if (nat_hook && nat_hook->decode_session) in nf_nat_decode_session()
398 nat_hook->decode_session(skb, fl); in nf_nat_decode_session()
/linux-6.15/net/netfilter/
H A Dnf_conntrack_core.c1719 const struct nf_nat_hook *nat_hook; in nf_conntrack_free() local
1722 nat_hook = rcu_dereference(nf_nat_hook); in nf_conntrack_free()
1723 if (nat_hook) in nf_conntrack_free()
1724 nat_hook->remove_nat_bysrc(ct); in nf_conntrack_free()
H A Dnf_conntrack_netlink.c1878 const struct nf_nat_hook *nat_hook; in ctnetlink_parse_nat_setup() local
1881 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1882 if (!nat_hook) { in ctnetlink_parse_nat_setup()
1893 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1894 if (nat_hook) in ctnetlink_parse_nat_setup()
1900 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
H A Dnf_nat_core.c1320 static const struct nf_nat_hook nat_hook = { variable
1353 RCU_INIT_POINTER(nf_nat_hook, &nat_hook); in nf_nat_init()