Searched refs:nat_hook (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | netfilter.h | 388 const struct nf_nat_hook *nat_hook; in nf_nat_decode_session() local 391 nat_hook = rcu_dereference(nf_nat_hook); in nf_nat_decode_session() 392 if (nat_hook && nat_hook->decode_session) in nf_nat_decode_session() 393 nat_hook->decode_session(skb, fl); in nf_nat_decode_session()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_core.c | 1681 const struct nf_nat_hook *nat_hook; in nf_conntrack_free() local 1684 nat_hook = rcu_dereference(nf_nat_hook); in nf_conntrack_free() 1685 if (nat_hook) in nf_conntrack_free() 1686 nat_hook->remove_nat_bysrc(ct); in nf_conntrack_free() 2178 const struct nf_nat_hook *nat_hook; in __nf_conntrack_update() local 2225 nat_hook = rcu_dereference(nf_nat_hook); in __nf_conntrack_update() 2226 if (!nat_hook) in __nf_conntrack_update() 2230 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_SRC, in __nf_conntrack_update() 2235 nat_hook->manip_pkt(skb, ct, NF_NAT_MANIP_DST, in __nf_conntrack_update()
|
H A D | nf_conntrack_netlink.c | 1847 const struct nf_nat_hook *nat_hook; in ctnetlink_parse_nat_setup() local 1850 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup() 1851 if (!nat_hook) { in ctnetlink_parse_nat_setup() 1862 nat_hook = rcu_dereference(nf_nat_hook); in ctnetlink_parse_nat_setup() 1863 if (nat_hook) in ctnetlink_parse_nat_setup() 1869 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
|
H A D | nf_nat_core.c | 1319 static const struct nf_nat_hook nat_hook = { variable 1353 RCU_INIT_POINTER(nf_nat_hook, &nat_hook); in nf_nat_init()
|