Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dnetfilter.h75 int (*okfn)(struct net *, struct sock *, struct sk_buff *); member
162 p->okfn = okfn; in nf_hook_state_init()
257 sk, net, okfn); in nf_hook()
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()
304 ret = okfn(net, sk, skb); in NF_HOOK()
338 nf_hook_state_init(&state, hook, pf, in, out, sk, net, okfn); in NF_HOOK_LIST()
405 return okfn(net, sk, skb); in NF_HOOK_COND()
411 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK()
[all …]
/openbmc/linux/include/net/netfilter/
H A Dbr_netfilter.h28 int (*okfn)(struct net *, struct sock *,
/openbmc/linux/net/bridge/
H A Dbr_netfilter_hooks.c1002 state->okfn(state->net, state->sk, skb); in ip_sabotage_in()
1147 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh()
1158 return okfn(net, sk, skb); in br_nf_hook_thresh()
1181 sk, net, okfn); in br_nf_hook_thresh()
1185 ret = okfn(net, sk, skb); in br_nf_hook_thresh()
/openbmc/linux/net/netfilter/
H A Dnf_queue.c340 entry->state.okfn(entry->state.net, entry->state.sk, skb); in nf_reinject()
/openbmc/linux/net/bpf/
H A Dtest_run.c1526 if (user->net || user->sk || user->okfn) in verify_and_copy_hook_state()