Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dnetfilter.h74 int (*okfn)(struct net *, struct sock *, struct sk_buff *); member
146 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
154 p->okfn = okfn; in nf_hook_state_init()
208 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
254 sk, net, okfn); in nf_hook()
283 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
289 ((ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn)) == 1)) in NF_HOOK_COND()
290 ret = okfn(net, sk, skb); in NF_HOOK_COND()
297 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK()
299 int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); in NF_HOOK()
[all …]
/kernel/linux/linux-5.10/include/net/netfilter/
Dbr_netfilter.h28 int (*okfn)(struct net *, struct sock *,
/kernel/linux/linux-5.10/net/bridge/
Dbr_netfilter_hooks.c872 state->okfn(state->net, state->sk, skb); in ip_sabotage_in()
1001 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh()
1012 return okfn(net, sk, skb); in br_nf_hook_thresh()
1020 sk, net, okfn); in br_nf_hook_thresh()
1024 ret = okfn(net, sk, skb); in br_nf_hook_thresh()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_queue.c325 entry->state.okfn(entry->state.net, entry->state.sk, skb); in nf_reinject()