Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dnetfilter.h390 struct nf_nat_hook *nat_hook; in nf_nat_decode_session() local
393 nat_hook = rcu_dereference(nf_nat_hook); in nf_nat_decode_session()
394 if (nat_hook && nat_hook->decode_session) in nf_nat_decode_session()
395 nat_hook->decode_session(skb, fl); in nf_nat_decode_session()
/Linux-v5.15/net/netfilter/
Dnf_conntrack_core.c2089 struct nf_nat_hook *nat_hook; in __nf_conntrack_update() local
2134 nat_hook = rcu_dereference(nf_nat_hook); in __nf_conntrack_update()
2135 if (!nat_hook) in __nf_conntrack_update()
2139 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in __nf_conntrack_update()
2144 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_DST, in __nf_conntrack_update()
Dnf_nat_core.c1123 static struct nf_nat_hook nat_hook = { variable
1164 RCU_INIT_POINTER(nf_nat_hook, &nat_hook); in nf_nat_init()
Dnf_conntrack_netlink.c1824 struct nf_nat_hook *nat_hook; in ctnetlink_parse_nat_setup() local
1827 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1828 if (!nat_hook) { in ctnetlink_parse_nat_setup()
1839 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1840 if (nat_hook) in ctnetlink_parse_nat_setup()
1846 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()