Home
last modified time | relevance | path

Searched refs:ct_hook (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/net/netfilter/
Dcore.c672 struct nf_ct_hook *ct_hook; in nf_conntrack_destroy() local
675 ct_hook = rcu_dereference(nf_ct_hook); in nf_conntrack_destroy()
676 BUG_ON(ct_hook == NULL); in nf_conntrack_destroy()
677 ct_hook->destroy(nfct); in nf_conntrack_destroy()
685 struct nf_ct_hook *ct_hook; in nf_ct_get_tuple_skb() local
689 ct_hook = rcu_dereference(nf_ct_hook); in nf_ct_get_tuple_skb()
690 if (ct_hook) in nf_ct_get_tuple_skb()
691 ret = ct_hook->get_tuple_skb(dst_tuple, skb); in nf_ct_get_tuple_skb()
Dnfnetlink_queue.c228 struct nf_ct_hook *ct_hook; in nfqnl_reinject() local
235 ct_hook = rcu_dereference(nf_ct_hook); in nfqnl_reinject()
236 if (ct_hook) { in nfqnl_reinject()
237 err = ct_hook->update(entry->state.net, entry->skb); in nfqnl_reinject()