Home
last modified time | relevance | path

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

/Linux-v5.4/net/netfilter/
Dcore.c575 struct nf_ct_hook *ct_hook; in nf_conntrack_destroy() local
578 ct_hook = rcu_dereference(nf_ct_hook); in nf_conntrack_destroy()
579 BUG_ON(ct_hook == NULL); in nf_conntrack_destroy()
580 ct_hook->destroy(nfct); in nf_conntrack_destroy()
588 struct nf_ct_hook *ct_hook; in nf_ct_get_tuple_skb() local
592 ct_hook = rcu_dereference(nf_ct_hook); in nf_ct_get_tuple_skb()
593 if (ct_hook) in nf_ct_get_tuple_skb()
594 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()