Home
last modified time | relevance | path

Searched refs:okfn (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/include/linux/
Dnetfilter.h75 int (*okfn)(struct net *, struct sock *, struct sk_buff *); member
154 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
162 p->okfn = okfn; in nf_hook_state_init()
216 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
257 sk, net, okfn); in nf_hook()
286 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
292 ((ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn)) == 1)) in NF_HOOK_COND()
293 ret = okfn(net, sk, skb); in NF_HOOK_COND()
300 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK()
302 int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); in NF_HOOK()
[all …]
/linux-6.6.21/include/net/netfilter/
Dbr_netfilter.h28 int (*okfn)(struct net *, struct sock *,
/linux-6.6.21/net/bridge/
Dbr_netfilter_hooks.c987 state->okfn(state->net, state->sk, skb); in ip_sabotage_in()
1132 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh()
1143 return okfn(net, sk, skb); in br_nf_hook_thresh()
1166 sk, net, okfn); in br_nf_hook_thresh()
1170 ret = okfn(net, sk, skb); in br_nf_hook_thresh()
/linux-6.6.21/net/netfilter/
Dnf_queue.c340 entry->state.okfn(entry->state.net, entry->state.sk, skb); in nf_reinject()
/linux-6.6.21/net/bpf/
Dtest_run.c1519 if (user->net || user->sk || user->okfn) in verify_and_copy_hook_state()