Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dnetfilter.h375 struct nf_nat_hook *nat_hook; in nf_nat_decode_session() local
378 nat_hook = rcu_dereference(nf_nat_hook); in nf_nat_decode_session()
379 if (nat_hook && nat_hook->decode_session) in nf_nat_decode_session()
380 nat_hook->decode_session(skb, fl); in nf_nat_decode_session()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_core.c1887 struct nf_nat_hook *nat_hook; in nf_conntrack_update() local
1937 nat_hook = rcu_dereference(nf_nat_hook); in nf_conntrack_update()
1938 if (!nat_hook) in nf_conntrack_update()
1942 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in nf_conntrack_update()
1947 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_DST, in nf_conntrack_update()
Dnf_conntrack_netlink.c1513 struct nf_nat_hook *nat_hook; in ctnetlink_parse_nat_setup() local
1516 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1517 if (!nat_hook) { in ctnetlink_parse_nat_setup()
1528 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup()
1529 if (nat_hook) in ctnetlink_parse_nat_setup()
1535 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
Dnf_nat_core.c1143 static struct nf_nat_hook nat_hook = { variable
1183 RCU_INIT_POINTER(nf_nat_hook, &nat_hook); in nf_nat_init()