Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dnetfilter.h386 const struct nf_nat_hook *nat_hook; in nf_nat_decode_session() local
389 nat_hook = rcu_dereference(nf_nat_hook); in nf_nat_decode_session()
390 if (nat_hook && nat_hook->decode_session) in nf_nat_decode_session()
391 nat_hook->decode_session(skb, fl); in nf_nat_decode_session()
/linux-6.1.9/net/netfilter/
Dnf_conntrack_core.c1689 const struct nf_nat_hook *nat_hook; in nf_conntrack_free() local
1692 nat_hook = rcu_dereference(nf_nat_hook); in nf_conntrack_free()
1693 if (nat_hook) in nf_conntrack_free()
1694 nat_hook->remove_nat_bysrc(ct); in nf_conntrack_free()
2197 const struct nf_nat_hook *nat_hook; in __nf_conntrack_update() local
2244 nat_hook = rcu_dereference(nf_nat_hook); in __nf_conntrack_update()
2245 if (!nat_hook) in __nf_conntrack_update()
2249 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in __nf_conntrack_update()
2254 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_DST, in __nf_conntrack_update()
Dnf_nat_core.c1119 static const struct nf_nat_hook nat_hook = { variable
1153 RCU_INIT_POINTER(nf_nat_hook, &nat_hook); in nf_nat_init()
Dnf_conntrack_netlink.c1857 const struct nf_nat_hook *nat_hook; in ctnetlink_parse_nat_setup() local
1860 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1861 if (!nat_hook) { in ctnetlink_parse_nat_setup()
1872 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1873 if (nat_hook) in ctnetlink_parse_nat_setup()
1879 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()